submission_id stringlengths 10 10 | problem_id stringlengths 6 6 | language stringclasses 3
values | code stringlengths 1 522k | compiler_output stringlengths 43 10.2k |
|---|---|---|---|---|
s552207474 | p03719 | C++ | int main() {
int A,B,C;
cin>>A,B,C;
if(A<=C<=B){
cout <<"Yes" << endl;
}else{
cout << "No" << endl;
}
} | a.cc: In function 'int main()':
a.cc:3:1: error: 'cin' was not declared in this scope
3 | cin>>A,B,C;
| ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
5 | cout <<"Yes" << endl;
| ^~~~
a.cc:5:21: error: 'endl' was not declared in this scope
5 | cout <<"Yes" << endl;
... |
s269167761 | p03719 | Java |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(-100>a>c){
System.out.println("No");
}else if(b>c>100){
System.out.println("No");
... | Main.java:9: error: bad operand types for binary operator '>'
if(-100>a>c){
^
first type: boolean
second type: int
Main.java:11: error: bad operand types for binary operator '>'
}else if(b>c>100){
^
first type: boolean
second type: int
2 errors
|
s728284605 | p03719 | C++ | #include <iostream>
#include <map>
#include <set>
#include <vector>
#include <algorithm>
#include <math.h>
#include <cmath>
#include <deque>
using namespace std;
typedef long long ll;
int main(){
int A, B, C;
cin >> A >> B >> C;
if(a <= C && C <= B) cout << "Yes" << endl;
else cout << "No" << endl;
} | a.cc: In function 'int main()':
a.cc:16:7: error: 'a' was not declared in this scope
16 | if(a <= C && C <= B) cout << "Yes" << endl;
| ^
|
s732142203 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c; cin >> a >> b >> c;
if(a <= c and c <= b) puts("Yes");
else puts("No")
}
| a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before '}' token
8 | else puts("No")
| ^
| ;
9 | }
| ~
|
s975887821 | p03719 | C++ | #include <iostream>
using namespace std;
int main() {
// your code goes here
int a,b,c;
cin>>a>>b>>c;
if(c>=a&&c<=b&&)cout<<"Yes"<<endl;
else cout<<"No"<<endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:8:24: error: expected primary-expression before ')' token
8 | if(c>=a&&c<=b&&)cout<<"Yes"<<endl;
| ^
|
s814455793 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if(c>=a && c <= b){
cout < <"Yes";
}else{
cout << "No";
}
} | a.cc: In function 'int main()':
a.cc:7:12: error: expected primary-expression before '<' token
7 | cout < <"Yes";
| ^
|
s775574671 | p03719 | C++ | int a, b, c;
int main () {
cin >> a >> b >> c;
if (c >= a && c <b) {
cout << "Yes" << endl;
}
else if (a == b == c){
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}
| a.cc: In function 'int main()':
a.cc:3:1: error: 'cin' was not declared in this scope
3 | cin >> a >> b >> c;
| ^~~
a.cc:5:9: error: 'cout' was not declared in this scope
5 | cout << "Yes" << endl;
| ^~~~
a.cc:5:26: error: 'endl' was not declared in this scope
5 | cout <<... |
s549901546 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c[50],d[50];
cin>> a >>b;
for(int i=0; i<b;i++){
cin >> c[i] >>d[i];
}
for(int i=1; i<=a ;i++){
int e[50] = 0,f[50] =0;
for(int j =1; j<=b;j++){
e[c[j]-1] += 1;
f[d[j]-1] += 1;
}
cout << e[i]+... | a.cc: In function 'int main()':
a.cc:13:17: error: array must be initialized with a brace-enclosed initializer
13 | int e[50] = 0,f[50] =0;
| ^
a.cc:13:26: error: array must be initialized with a brace-enclosed initializer
13 | int e[50] = 0,f[50] =0;
| ... |
s218220300 | p03719 | C++ | #include<iostream>
using namespace std;
int main (){
int a,b,c;
cin >> a>> b>> c;
if(a<=c&&c<=b){
cout<< "Yes";
}else{
cout<< "No";
}
| a.cc: In function 'int main()':
a.cc:12:2: error: expected '}' at end of input
12 | }
| ^
a.cc:4:12: note: to match this '{'
4 | int main (){
| ^
|
s166270105 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Between_Two_Intergets
{
class Program
{
static void Main(string[] args)
{
int A, B,C;
//整数A,Bの入力
var word = Console.ReadLine().Split(... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s824300389 | p03719 | C++ |
namespace ABC061A
{
class Program
{
static void Main(string[] args)
{
int a, b,c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = int.Parse(word[2]);
if ((a <= c) && (c <= b))
{
Console.WriteLine("Yes");
}
else
{
Console.WriteL... | a.cc:7:34: error: 'string' has not been declared
7 | static void Main(string[] args)
| ^~~~~~
a.cc:7:43: error: expected ',' or '...' before 'args'
7 | static void Main(string[] args)
| ^~~~
a.... |
s005232974 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A
{
class Program
{
static void Main(string[] args)
{
int a, b,c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = int.Pa... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s415089605 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A
{
class Program
{
static void Main(string[] args)
{
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(wo... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s108933560 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061
{
class Program
{
static void Main(string[] args)
{
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s847555590 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A
{
class Program
{
static void Main(string[] args)
{
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s048104110 | p03719 | C++ | static void Main(string[] args)
{
int a; int b; int c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);
c = int.Parse(word[2]);
if (c>=a&&c<=b)
Console.WriteLine("yes");
... | a.cc:1:13: error: variable or field 'Main' declared void
1 | static void Main(string[] args)
| ^~~~
a.cc:1:18: error: 'string' was not declared in this scope
1 | static void Main(string[] args)
| ^~~~~~
a.cc:1:25: error: expected primary-expression before ']' token
1... |
s441486547 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ABC061A
{
class Program
{
static void Main(string[] args)
{
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(wor... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s119094288 | p03719 | C++ | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int a, b, c;
var word = Console.ReadLine().Split(' ');
a = int.Parse(word[0]);
b = int.Parse(word[1]);... | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
2 | using System.Collections.Generic;
| ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
3 | using System.L... |
s851106864 | p03719 | C++ | # include <iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(c>=a && c<=b){
cout<"Yes";
}
else {
cout<<"No";
}
}
| a.cc: In function 'int main()':
a.cc:7:9: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'const char [4]')
7 | cout<"Yes";
| ~~~~^~~~~~
| | |
| | const char [4]
| std::ostream {aka std::basic_ostream<char>}
In ... |
s020215411 | p03719 | C++ | #include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#i... | a.cc: In function 'int main()':
a.cc:39:16: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and 'char')
39 | cout<<"Yes"<'\n';
| ~~~~~~~~~~~^~~~~
| | |
| | char
| std::basic_ostream<char>
a.cc:39:16: note: candidate: 'o... |
s501798754 | p03719 | C++ | #include <bits/stdc++.h>
#include <stdio.h>
#include <numeric>
using namespace std;
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define repone(i,n) for(int i=1;i<(int)(n);++i)
#define repo(i,o,n) for(int i=o;i<(int)(n);++i)
#define Rep(j,n) for(int j=0;j<(int)(n);++j)
#define Repo(j,o,n) for(int j=o;j<(int)(n);++j)
#d... | a.cc: In function 'int main()':
a.cc:27:18: error: expected ';' before '}' token
27 | else cout << "No"
| ^
| ;
28 | }
| ~
|
s746685735 | p03719 | C++ | # A - Between Two Integers
A, B, C = map(int,input().split())
if A <= C <= B:
print('Yes')
else:
print('No') | a.cc:1:3: error: invalid preprocessing directive #A
1 | # A - Between Two Integers
| ^
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
4 | print('Yes')
| ^~~~~
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
6 | print('No')
| ... |
s099881155 | p03719 | C | #include<stdio.H>
int main(){
int A,B,C;
scanf("%d %d %d",&A,&B,&C);
if(C>=A && C<=B){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
} | main.c:1:9: fatal error: stdio.H: No such file or directory
1 | #include<stdio.H>
| ^~~~~~~~~
compilation terminated.
|
s186609720 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (c >= a && c <= b) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
} | a.cc:6:12: error: extended character is not valid in an identifier
6 | if (c >= a && c <= b) {
| ^
a.cc: In function 'int main()':
a.cc:6:12: error: 'a\U00003000' was not declared in this scope
6 | if (c >= a && c <= b) {
| ^~~
|
s305845391 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (c >= a && c <= b) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
} | a.cc:6:12: error: extended character is not valid in an identifier
6 | if (c >= a && c <= b) {
| ^
a.cc: In function 'int main()':
a.cc:6:12: error: 'a\U00003000' was not declared in this scope
6 | if (c >= a && c <= b) {
| ^~~
|
s626017101 | p03719 | C++ | #include <isotream>
using namespace std;
int main(){
int A, B, C;
cin >> A >> B >> C;
if(C >= A && B <= C) cout << "Yes";
else cout << "No";
} | a.cc:1:10: fatal error: isotream: No such file or directory
1 | #include <isotream>
| ^~~~~~~~~~
compilation terminated.
|
s177864565 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vb = vector<bool>;
using vc = vector<char>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using vvc = vector<vector<char>>;
using pii = pair<int, int>;
#define rep(i,n) for(int i=0; i<(int)(n);i++)
int main(){
cin >> a >> b >> ... | a.cc: In function 'int main()':
a.cc:13:10: error: 'a' was not declared in this scope
13 | cin >> a >> b >> c;
| ^
a.cc:13:15: error: 'b' was not declared in this scope; did you mean 'vb'?
13 | cin >> a >> b >> c;
| ^
| vb
a.cc:13:20: error: 'c' was not d... |
s683982082 | p03719 | C++ | #include <iostream>
using namespace std:
int main(){
int a,b,c;
cin >>a >> b >> c;
if ( a<= b && b <= c ) cout << "Yes";
else cout << "No" ;
} | a.cc:2:20: error: expected ';' before ':' token
2 | using namespace std:
| ^
| ;
a.cc:2:20: error: expected unqualified-id before ':' token
|
s879643543 | p03719 | C++ |
int main(){
int a,b,c;
cin >>a >> b >> c;
if ( a<= b && b <= c ) cout << "Yes";
else cout << "No" ;
} | a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
5 | cin >>a >> b >> c;
| ^~~
a.cc:7:26: error: 'cout' was not declared in this scope
7 | if ( a<= b && b <= c ) cout << "Yes";
| ^~~~
a.cc:8:8: error: 'cout' was not declared in this ... |
s002107975 | p03719 | Java | function Main(input) {
var A = parseInt(input.split(" ")[0]);
var B = parseInt(input.split(" ")[1]);
var C = parseInt(input.split(" ")[2]);
if(A <= C && B >= C){
console.log("Yes");
}else{
console.log("No");
}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
| Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
function Main(input) {
^
(use --enable-preview to enable unnamed classes)
Main.java:1: error: <identifier> expected
function Main(input) {
^
Main.java:13: error: class, interface, enum, or record expected
Main(re... |
s419715865 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int A,B,C;
cin >>A>>B>>C;
string ans;
if(A<=C&&C<=B) ans="YES" : ans="NO";
cout <<ans<< endl;
}
| a.cc: In function 'int main()':
a.cc:9:27: error: expected ';' before ':' token
9 | if(A<=C&&C<=B) ans="YES" : ans="NO";
| ^~
| ;
|
s156003444 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int A,B,C;
cin >>A>>B>>C;
string ans;
if(A<=C&&C<=B) ans = "YES" : "NO";
cout <<ans<< endl;
}
| a.cc: In function 'int main()':
a.cc:9:29: error: expected ';' before ':' token
9 | if(A<=C&&C<=B) ans = "YES" : "NO";
| ^~
| ;
|
s218110095 | p03719 | C++ | (a, b, c) = (int(tok) for tok in input().split())
print("YES" if a <= c and c <= b else "NO") | a.cc:1:3: error: expected ')' before ',' token
1 | (a, b, c) = (int(tok) for tok in input().split())
| ~ ^
| )
a.cc:1:6: error: expected constructor, destructor, or type conversion before ',' token
1 | (a, b, c) = (int(tok) for tok in input().split())
| ^
a.cc:1:9: error: expected const... |
s722471730 | p03719 | C++ | #include <iostream>
using namespace std;
int main(){
int a, b, c;
cin >> a >> b >> c;
if(c >= a && c <= b){
cout << "Yes" << endl;
}else{
cout << "No" < endl;
}
} | a.cc: In function 'int main()':
a.cc:12:22: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
12 | cout << "No" < endl;
| ~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/14/string:48,
from /usr/... |
s316310985 | p03719 | C++ | #include <iostream>
using namespace std;
int main(){
int a, b, c;
if(c >= a && c <= b){
cout << "Yes" << endl;
}else{
cout << "No" < endl;
}
} | a.cc: In function 'int main()':
a.cc:11:22: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
11 | cout << "No" < endl;
| ~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/14/string:48,
from /usr/... |
s661481741 | p03719 | C++ | #include <stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a <= c && c <= b) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
return 0;
| a.cc:1:10: fatal error: stdc++.h: No such file or directory
1 | #include <stdc++.h>
| ^~~~~~~~~~
compilation terminated.
|
s232188741 | p03719 | C++ | // In His Name
#include <Bits/stdc++.h>
#define pb push_back
#define F first
#define S second
#define ll long long
#define gcd __gcd
using namespace std;
typedef pair<int, int> pii;
const int MAX = 100;
int a, b, c;
int main(){
ios_base::sync_with_stdio(0);
cin >> a >> b >> c;
if (c >= a && c <= b){
co... | a.cc:3:10: fatal error: Bits/stdc++.h: No such file or directory
3 | #include <Bits/stdc++.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
|
s433445331 | p03719 | C++ | #include <bits/stdc++.h>
#define int long long
using namespace std;
int main() {
int a,b;
cin>>a>>b;
vector<pair<int,int>> vec(a);
for(int i=0;i<a;i++){
int X,Y;
cin >> X >> Y;
vec.at(i) = make_pair(X,Y);
}
sort(vec.begin(),vec.end());
int count = 0;
int answer = 0;
for(int i = 0;i < a;i++) {
if(b - count... | cc1plus: error: '::main' must return 'int'
|
s993838549 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int a,b,c;
cin>a>>b>>c;
if(a<=c&&c<=b)
cout<<"Yes";
else
cout<<"No";
}
| a.cc: In function 'int main()':
a.cc:5:4: error: no match for 'operator>' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'int')
5 | cin>a>>b>>c;
| ~~~^~~~~~~~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
a.cc:5:4: note: candidate: 'operator>... |
s999269364 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if(A <= C && B >= C) cout << ”Yes” << endl;
else cout << ”No” << endl;
} | a.cc:7:32: error: extended character ” is not valid in an identifier
7 | if(A <= C && B >= C) cout << ”Yes” << endl;
| ^
a.cc:7:32: error: extended character ” is not valid in an identifier
a.cc:8:16: error: extended character ” is not valid in an identifier
8 | else cou... |
s411282376 | p03719 | C++ | #include <iostream>
#include <algorithm>
using namespace std;
int main(void){
// Your code here!
int a, b, c;
cin >> a >> b >> c;
cout << (a <= c && b >= c) ? "Yes" : "No" << endl;
}
| a.cc: In function 'int main()':
a.cc:9:46: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
9 | cout << (a <= c && b >= c) ? "Yes" : "No" << endl;
| ~~~~~^~~~~~~
|
s502929672 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
//long long
using ll = long long;
//出力系
#define print(x) cout << x << endl
#define yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define no cout << "No" << endl
#define NO cout << "NO" << endl
// begin() end()
#define all(x) (x... | a.cc:39:2: error: expected declaration before '}' token
39 | }
| ^
|
s241890174 | p03719 | Java | #include <bits/stdc++.h>
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if(A <= C && C <= B) cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
}
| Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
^
Main.java:2: error: illegal character: '#'
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
^
Main.java:2: error: class, interface, enum, or record expected... |
s216921299 | p03719 | Java | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
int[] nums = Integer.parseInt(line.split(" "));
if (nums[2] >= nums[0] && nums[2] <= nums[1]) {
System.out.println("Yes");
} else {
System.out.pri... | Main.java:7: error: incompatible types: String[] cannot be converted to String
int[] nums = Integer.parseInt(line.split(" "));
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
|
s934468412 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A,B,C;
cin>>A>>B>>C;
if(C>=A && C<=B);{
cout <<"Yes";
}
else{
cout <<"No";
}
}
| a.cc: In function 'int main()':
a.cc:10:3: error: 'else' without a previous 'if'
10 | else{
| ^~~~
|
s852399665 | p03719 | C++ | #include <iostream>
#include <vector>
#include <algorithm>
#include <set>
#include <map>
#include <utility>
#include <tuple>
#include <string>
#include <cctype>
#include <cstdio>
using namespace std;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define SORT(x) sort(x.begin(),x.end())
#define REVE(x) reverse(x.be... | a.cc: In function 'int main()':
a.cc:35:19: error: expected ';' before ':' token
35 | cout <<"No":
| ^
| ;
|
s613660898 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if (c>=a && c<=B){
cout <<"Yes"<<endl;
}
else {
cout <<"No"<<endl;
}
} | a.cc: In function 'int main()':
a.cc:6:18: error: 'B' was not declared in this scope
6 | if (c>=a && c<=B){
| ^
|
s454427088 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a, b, c;
cin >> a >> b >> c;
if(a =< c && c =< b){
cout << "Yes" << endl;
}else{
cout << "No" << endl;
}
return 0;
} | a.cc: In function 'int main()':
a.cc:8:9: error: expected primary-expression before '<' token
8 | if(a =< c && c =< b){
| ^
a.cc:8:19: error: expected primary-expression before '<' token
8 | if(a =< c && c =< b){
| ^
|
s288985608 | p03719 | Java | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int A = scanner.nextInt();
int B = scanner.nextInt();
int C = scanner.nextInt();
if(A <= C && C <== B){
System.out.println("Yes");
... | Main.java:11: error: illegal start of expression
if(A <= C && C <== B){
^
1 error
|
s291698100 | p03719 | C++ | #include <iostream>
#include <vector>
using namespace std;
int main(){
int N;
//都市の数,Nを定義
int M;
//道路の数,Mを定義
cin >> N >> M;
//N,Mの順で標準入力
vector <int> num(N);
for (int i = 0; i < M; i++){
int Na;
//他の都市Na
int Nb;
//他の都市Nb
//それぞれの都市が他の都市に繋がる道路を何本もっ... | a.cc: In function 'int main()':
a.cc:23:14: error: 'Mb' was not declared in this scope; did you mean 'Nb'?
23 | num [Mb-1]++;
| ^~
| Nb
a.cc:26:29: error: 'class std::vector<int>' has no member named 'length'
26 | for (int i = 0; i < num.length(); i++){
| ... |
s568925299 | p03719 | C++ | import Control.Applicative
main = do
[a, b, c] <- map read . words <$> getLine
putStrLn $ solve a b c
solve :: Int -> Int -> Int -> String
solve a b c
| a < c && c < b = "Yes"
| otherwise = "No"
| a.cc:1:1: error: 'import' does not name a type
1 | import Control.Applicative
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
|
s704831572 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B , C;
cin >> A >> B >> C;
if (A <= C && c<= B){
cout << "Yes" << endl;
}
else{
cout << "No" << endl;
}
}
| a.cc: In function 'int main()':
a.cc:8:17: error: 'c' was not declared in this scope
8 | if (A <= C && c<= B){
| ^
|
s350179420 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B , C;
cin >> A >> B >> C;
if (A <= C <= B){
cout << "Yes" << endl;
}
else if (B< A < c){
cout << "No" << endl;
}
}
| a.cc: In function 'int main()':
a.cc:11:21: error: 'c' was not declared in this scope
11 | else if (B< A < c){
| ^
|
s236700125 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B , C;
cin >> A >> B >> C;
if (A <= C && c <= B && A <=B ){
cout << "Yes" << endl;
}
else{
cout << "No" << endl;
}
}
| a.cc: In function 'int main()':
a.cc:8:17: error: 'c' was not declared in this scope
8 | if (A <= C && c <= B && A <=B ){
| ^
|
s532596787 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B , C;
cin >> A >> B >> C;
if (A =< C =< B){
cout << Yes << endl;
}
else{
cout << No << endl;
}
}
| a.cc: In function 'int main()':
a.cc:8:10: error: expected primary-expression before '<' token
8 | if (A =< C =< B){
| ^
a.cc:8:15: error: expected primary-expression before '<' token
8 | if (A =< C =< B){
| ^
a.cc:9:13: error: 'Yes' was not declared in this scope
9 | ... |
s570005860 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if(c >= a && c <= B) cout << "Yes";
else cout << "No";
return 0;
} | a.cc: In function 'int main()':
a.cc:7:21: error: 'B' was not declared in this scope
7 | if(c >= a && c <= B) cout << "Yes";
| ^
|
s959877298 | p03719 | C++ | #include<iostream>
#include<algorithm>
#include<string>
#include<vector>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
cout << (a <= c && b >= c ? "Yes" ; "No") << endl;
} | a.cc: In function 'int main()':
a.cc:9:38: error: expected ':' before ';' token
9 | cout << (a <= c && b >= c ? "Yes" ; "No") << endl;
| ^~
| :
a.cc:9:39: error: expected primary-expression before ';' token
9 | cout <<... |
s661567877 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main(){
int a, b, c;
cin >> a >> b >> c;
if(a<=c $$ c<=b){
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
} | a.cc: In function 'int main()':
a.cc:6:10: error: expected ')' before '$$'
6 | if(a<=c $$ c<=b){
| ~ ^~~
| )
|
s309436866 | p03719 | C++ | #include<iostream>
using namespace std;
int main()}{
int A,B,C;
cin>>A>>B>>C;
if (A<=C && C<=B){
cout<<"Yes"<<endl;
}else{
cout<<"No"<<endl;
}
}
| a.cc:3:11: error: expected initializer before '}' token
3 | int main()}{
| ^
a.cc:3:11: error: expected declaration before '}' token
a.cc:3:12: error: expected unqualified-id before '{' token
3 | int main()}{
| ^
|
s776586819 | p03719 | C++ | include <iostream>
using namespace std;
int main(void){
int A,B,C;
cin >> A >> B >> C;
if(A<=C&&C<=B){
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
return 0;
}
| a.cc:1:1: error: 'include' does not name a type
1 | include <iostream>
| ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
5 | cin >> A >> B >> C;
| ^~~
a.cc:7:9: error: 'cout' was not declared in this scope
7 | cout << "Yes" << endl;
... |
s274167866 | p03719 | C++ | #incluce<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(c>=a){
if(c<=b){
cout<<"Yes"<<endl;
}else{
cout<<"No"<<endl;
}
}else{
cout<<"No"<<endl;
}
return 0;
} | a.cc:1:2: error: invalid preprocessing directive #incluce; did you mean #include?
1 | #incluce<iostream>
| ^~~~~~~
| include
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
7 | cin>>a>>b>>c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<ios... |
s269355480 | p03719 | C++ | #include<iostream>
usnig namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(c>=a){
if(c<=b){
cout<<"Yes"<<endl;
}else{
cout<<"No"<<endl;
}
}else{
cout<<"No"<<endl;
}
return 0;
} | a.cc:2:1: error: 'usnig' does not name a type
2 | usnig namespace std;
| ^~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
7 | cin>>a>>b>>c;
| ^~~
| std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:... |
s526320307 | p03719 | C++ | #incluce<iostream>
usnig namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(c>=a){
if(c<=b){
cout<<"Yes"<<endl;
}else{
cout<<"No"<<endl;
}
}else{
cout<<"No"<<endl;
}
return 0;
}
| a.cc:1:2: error: invalid preprocessing directive #incluce; did you mean #include?
1 | #incluce<iostream>
| ^~~~~~~
| include
a.cc:2:1: error: 'usnig' does not name a type
2 | usnig namespace std;
| ^~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
... |
s414459924 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(void){
int A,B,C;
cin>>A>>B>>C;
cout<<(C>=A&&C<=b?"Yes":"No");
}
| a.cc: In function 'int main()':
a.cc:7:19: error: 'b' was not declared in this scope
7 | cout<<(C>=A&&C<=b?"Yes":"No");
| ^
|
s516640009 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A =< C && B >= C) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
} | a.cc: In function 'int main()':
a.cc:8:16: error: expected primary-expression before '<' token
8 | if (A =< C && B >= C) {
| ^
|
s481518654 | p03719 | C++ | a, b, c = map(int, raw_input().split())
if a <= c and c <= b:
print "Yes"
else:
print "No" | a.cc:1:1: error: 'a' does not name a type
1 | a, b, c = map(int, raw_input().split())
| ^
|
s978360599 | p03719 | C++ | a, b, c = map(int, raw_input().split())
if a >= c and c <= b:
print "Yes"
else:
print "No" | a.cc:1:1: error: 'a' does not name a type
1 | a, b, c = map(int, raw_input().split())
| ^
|
s722011499 | p03719 | C++ | a, b, c = map(int, raw_input().split())
if c >= a and a <= b:
print "Yes"
else:
print "No" | a.cc:1:1: error: 'a' does not name a type
1 | a, b, c = map(int, raw_input().split())
| ^
|
s095774073 | p03719 | C++ | a, b, c = map(int, raw_input().split())
if c >= a and c <= b:
print "Yes"
else:
print "No" | a.cc:1:1: error: 'a' does not name a type
1 | a, b, c = map(int, raw_input().split())
| ^
|
s904422887 | p03719 | C++ | A, B, C = map(int, input().split())
print('Yes' if A<=C<=B else 'No') | a.cc:2:7: warning: multi-character character constant [-Wmultichar]
2 | print('Yes' if A<=C<=B else 'No')
| ^~~~~
a.cc:2:29: warning: multi-character character constant [-Wmultichar]
2 | print('Yes' if A<=C<=B else 'No')
| ^~~~
a.cc:1:1: error: 'A' does not name a t... |
s516804439 | p03719 | C++ | #include <stdio.h>
int main(void){
// Your code here!
scanf("%d%d%d",&a,&b,&c);
if(c>=a&&c<=b){
printf("Yes\n");
}else{
printf("No\n");
}
return 0;
} | a.cc: In function 'int main()':
a.cc:4:21: error: 'a' was not declared in this scope
4 | scanf("%d%d%d",&a,&b,&c);
| ^
a.cc:4:24: error: 'b' was not declared in this scope
4 | scanf("%d%d%d",&a,&b,&c);
| ^
a.cc:4:27: error: 'c' was not declared in t... |
s579784905 | p03719 | C++ | #include <iostream>
using namespace std;
int main () {
int a,b,c;
cin>>a>>b>>c;
if(a <=c && c<==b){
cout<<"YES"<<endl;
return 0;
}else {
cout<<"NO"<<endl;
return 0;
}
} | a.cc: In function 'int main()':
a.cc:6:18: error: expected primary-expression before '=' token
6 | if(a <=c && c<==b){
| ^
|
s015406836 | p03719 | C++ | 6 5 4 | a.cc:1:1: error: expected unqualified-id before numeric constant
1 | 6 5 4
| ^
|
s043834031 | p03719 | C++ | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
int main(){
int a,b,x;
cin >> a >> b >> c;
if(c>=a && c<=b)
cout << "Yes";
else
cout << "No";
//cout << y << endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:7:26: error: 'c' was not declared in this scope
7 | cin >> a >> b >> c;
| ^
|
s398462389 | p03719 | C++ | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
int main(){
int a,b,x;
cin >> a >> b >> c;
if(c>=a && c<=b)
cout << "Yes";
else
cout << "No";
//cout << y << endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:7:26: error: 'c' was not declared in this scope
7 | cin >> a >> b >> c;
| ^
|
s447644802 | p03719 | C++ | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
int main(){
int a,b,x;
cin >> a >> b >> c;
if(c>=a && c<=b)
printf("Yes");
else
printf("No");
//cout << y << endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:7:26: error: 'c' was not declared in this scope
7 | cin >> a >> b >> c;
| ^
|
s063971340 | p03719 | C++ | int main(){
int a,b,c;
cin >> a >> b >> c;
if(c>=a && c <= b)
printf("yes\n");
else
printf("No\n");
//cout << y << endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
3 | cin >> a >> b >> c;
| ^~~
a.cc:5:17: error: 'printf' was not declared in this scope
5 | printf("yes\n");
| ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<... |
s002477479 | p03719 | C++ | #include<iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a <= c && c <= b ? "Yes" : "No") << end;
} | a.cc: In function 'int main()':
a.cc:7:47: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
7 | cout << (a <= c && c <= b ? "Yes" : "No") << end;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/inc... |
s933908859 | p03719 | C++ | a,b,c = map(int,input().split())
print("YNeos"[!(A<=C<=B)::2]) | a.cc:1:1: error: 'a' does not name a type
1 | a,b,c = map(int,input().split())
| ^
|
s182200624 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c; cin>>a>>b>>c;
if(a<=c && c<<b) cout<<"Yes"<<endl;
else cout<<"No"<endl;
} | a.cc: In function 'int main()':
a.cc:6:18: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
6 | else cout<<"No"<endl;
| ~~~~~~~~~~^~~~~
In file included from /usr/include/c++/14/regex:68,
from /usr/include/x86_... |
s071776277 | p03719 | C++ | #include<iostream>
using namespace std;
int main(void){
int a, b, c:
cin >> a >> b >> c;
if(a <= c && b >= c) cout <<"Yes" <<endl;
else cout << "No" <<endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:4:14: error: found ':' in nested-name-specifier, expected '::'
4 | int a, b, c:
| ^
| ::
a.cc:4:13: error: 'c' has not been declared
4 | int a, b, c:
| ^
a.cc:5:7: error: qualified-id in declaration before '>>' toke... |
s314420581 | p03719 | C++ | #include <iostream>
#include <sstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <algorithm>
#include <map>
#include <set>
#include <queue>
#define FOR(idx, begin, end) for(int idx = (int)(begin); idx < (int)(end); ++idx)
#ifdef _DEBUG
#define DMP(x) cerr << #x << ": " << x << "\... | a.cc: In function 'int main()':
a.cc:34:51: error: expected ';' before ')' token
34 | cout << ((A <= C)&&(C <= B))? "Yes" : "No");
| ^
| ;
|
s998076838 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,c,d,e;
cin>>a>>c>>d;
vector<int>b(a);
if(a<=c&&c<=b){
cout<<"Yes"<<endl;
}
else{
cout<<"No"<<endl;
}
}
| a.cc: In function 'int main()':
a.cc:9:16: error: no match for 'operator<=' (operand types are 'int' and 'std::vector<int>')
9 | if(a<=c&&c<=b){
| ~^~~
| | |
| | std::vector<int>
| int
In file included from /usr/include/c++/14/re... |
s825334056 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,c,d,e;
cin>>a>>c>>d;
vector<int>b(a);
if(a<c&&c<b){
cout<<"Yes"<<endl;
}
else{
cout<<"No"<<endl;
}
}
| a.cc: In function 'int main()':
a.cc:9:15: error: no match for 'operator<' (operand types are 'int' and 'std::vector<int>')
9 | if(a<c&&c<b){
| ~^~
| | |
| | std::vector<int>
| int
In file included from /usr/include/c++/14/regex:68,
... |
s157753718 | p03719 | C++ | #icnlude<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if(a<=c&&c<=b){
puts("Yes");
}else{
puts("No");
}
} | a.cc:1:2: error: invalid preprocessing directive #icnlude; did you mean #include?
1 | #icnlude<bits/stdc++.h>
| ^~~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
6 | cin >> a >> b >> c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined in h... |
s190641453 | p03719 | C++ | #icnlude<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if(a<=c&&c<=b){
puts("Yes");
}else{
puts("No");
}
} | a.cc:1:2: error: invalid preprocessing directive #icnlude; did you mean #include?
1 | #icnlude<bits/stdc++.h>
| ^~~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
6 | cin >> a >> b >> c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined in h... |
s225769365 | p03719 | C++ | #icnlude<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if(c>=a&&c<=b){
puts("Yes");
}else{
puts("No");
}
} | a.cc:1:2: error: invalid preprocessing directive #icnlude; did you mean #include?
1 | #icnlude<bits/stdc++.h>
| ^~~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
6 | cin >> a >> b >> c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined in h... |
s845759946 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int A,B,C;
cin>>A>>B>>C;
if((A<=C)&&(C<=B)){
cout<<"Yes"
}else{
cout<<"No";
}
return 0;
}
| a.cc: In function 'int main()':
a.cc:8:16: error: expected ';' before '}' token
8 | cout<<"Yes"
| ^
| ;
9 | }else{
| ~
|
s347281874 | p03719 | C | #include<stdio.h>
int main()
{
int a, b, c;
int d[3];
scanf("%d %d %d", a, b, c);
d[0] = a, d[1] = b, d[2] = c;
for(i = 0; i < 3; i++)
{
if(d[i] < -100 || d[i] > 100)
{
printf("wrong input");
return 0;
}
}
if(a <= c && b >= c)
printf("Yes");
else
printf("No");
} | main.c: In function 'main':
main.c:9:7: error: 'i' undeclared (first use in this function)
9 | for(i = 0; i < 3; i++)
| ^
main.c:9:7: note: each undeclared identifier is reported only once for each function it appears in
|
s697696973 | p03719 | C | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#define _CRT_SECURE_NO_WARNINGS
#define TLong long long
typedef struct {
int a; // num
int b; // count
} elm;
int comp(const void *p,const void *q){
return ((elm *)p)->a - ((elm *)q)->a;
}
int main(int argc, char c... | main.c: In function 'main':
main.c:25:46: error: expected expression before 'elm'
25 | for(i = 0; (i < n && j < k); ++i) j += elm[i].b;
| ^~~
|
s232052379 | p03719 | C++ | #include <iostream>
using namespace std;
typedef long long unsigned int ll;
int main() {
int a,b,c,d;
cin >> a;
cin >>b;
cin >>c;
if(a<=c&&c<=b){
cout <<"Yes" <<end;
}else{
cout << "No" <<endl;
}
return 0;
}
| a.cc: In function 'int main()':
a.cc:12:22: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
12 | cout <<"Yes" <<end;
| ~~~~~~~~~~~~~^~~~~
In file included from /usr/include/c++/14/iostream:41,
from a.cc... |
s218384676 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main()
{
int A, B, C;
cin >> A >> B >> C;
string ans == "No";
if (A <= C && C <= B) ans == "Yes";
cout << ans << endl;
} | a.cc: In function 'int main()':
a.cc:9:14: error: expected initializer before '==' token
9 | string ans == "No";
| ^~
a.cc:10:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
10 | if (A <= C && C <= B) ans == "Yes";
| ^~~
| ... |
s413377229 | p03719 | C | #include <stdioh>
int main(void)
{
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if(a<=c && c<=b) printf("Yes\n");
else printf("No\n");
return 0;
}
| main.c:1:10: fatal error: stdioh: No such file or directory
1 | #include <stdioh>
| ^~~~~~~~
compilation terminated.
|
s165746675 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(c>a-1&&c<b+1)cout<<"Yes"<<end;
else cout<<"No"<<endl;
} | a.cc: In function 'int main()':
a.cc:6:30: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
6 | if(c>a-1&&c<b+1)cout<<"Yes"<<end;
| ~~~~~~~~~~~^~~~~
In file included from /usr/include/c++/14/istream:41,
... |
s006253369 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main() {
int a,b,c;
cin >> a >> b >> c;
if(a <= c && c <= b){
cout << "Yes" << endl;
}
else{
cout << "No" << endl;
}
}
| a.cc:7:6: error: extended character is not valid in an identifier
7 | if(a <= c && c <= b){
| ^
a.cc: In function 'int main()':
a.cc:7:6: error: 'a\U00003000' was not declared in this scope
7 | if(a <= c && c <= b){
| ^~~
|
s432624850 | p03719 | C++ | #include <cmath>
#include <iostream>
#include <stdio.h>
#include <string>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <set>
#include <limits.h>
#include <map>
#include <numeric>
namespace test {
std::string to_string (char val) {
return std::string (1, val);
// return std... | a.cc: In function 'int main()':
a.cc:30:2: error: expected '}' at end of input
30 | }
| ^
a.cc:25:17: note: to match this '{'
25 | int main (void) {
| ^
|
s196211739 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]){
int a,b,c;
cin >> a >. b >> c;
if(a <= c && c <= b) cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
} | a.cc: In function 'int main(int, const char**)':
a.cc:7:19: error: expected primary-expression before '.' token
7 | cin >> a >. b >> c;
| ^
|
s874552307 | p03719 | C | #include<stdio.h>
int main(){
int a,b,c;
scanf("%d %d %d",&a.&b,&c);
if(a > c || c > b){
printf("No");
}else{
printf("Yes");
}
return 0;
} | main.c: In function 'main':
main.c:4:23: error: expected identifier before '&' token
4 | scanf("%d %d %d",&a.&b,&c);
| ^
|
s542619725 | p03719 | C | #include <stdio.h>
int main(void){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(c>=a&&b<=){
printf("Yes");
}
else{
printf("No");
}
return 0;
} | main.c: In function 'main':
main.c:5:15: error: expected expression before ')' token
5 | if(c>=a&&b<=){
| ^
|
s528830405 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a, b, c;
cin >> a >> b >> c;
if(c >= a && c <= b){
cout << "Yes" << endl;
} else {
cout << "No" << enld;
}
} | a.cc: In function 'int main()':
a.cc:11:25: error: 'enld' was not declared in this scope
11 | cout << "No" << enld;
| ^~~~
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.