submission_id stringlengths 10 10 | problem_id stringlengths 6 6 | language stringclasses 3
values | code stringlengths 1 522k | compiler_output stringlengths 43 10.2k |
|---|---|---|---|---|
s532814515 | p03719 | C | #include <stdio.h>
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: In function 'main':
main.c:5:19: error: 'a' undeclared (first use in this function)
5 | scanf("%d%d%d",&a,&B,&C);
| ^
main.c:5:19: note: each undeclared identifier is reported only once for each function it appears in
|
s130051170 | p03719 | C++ | #include <iostream>
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;
return 0;
} | a.cc: In function 'int main()':
a.cc:9:12: error: no match for 'operator>>' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'const char [4]')
9 | cout >> "Yes" >> endl;
| ~~~~ ^~ ~~~~~
| | |
| | const char [4]
| std::ostream {a... |
s703635430 | p03719 | C++ | #include <iostream>
using namespace std;
void swap(int& x, int& y)
{
int t = x;
x = y;
y = t;
}
int main()
{
int N;
long int k;
cin >> N >> K;
int a[N];
int b[N];
for (int i=0;i<N+1;i++){
cin>>a[i] >>b[i];}
for (int i=1;i<N;i++){
for (int j=... | a.cc: In function 'int main()':
a.cc:16:17: error: 'K' was not declared in this scope
16 | cin >> N >> K;
| ^
|
s765950974 | p03719 | C++ | #include <iostream>
using namespace std;
using ll;
void swap(int& x, int& y)
{
int t = x;
x = y;
y = t;
}
int main()
{
int N,K;
cin >> N >> K;
int a[N];
int b[N];
for (int i=0;i<N+1;i++){
cin>>a[i] >>b[i];}
for (int i=1;i<N;i++){
for (int j=i;a[j... | a.cc:3:7: error: expected nested-name-specifier before 'll'
3 | using ll;
| ^~
|
s052638436 | p03719 | Java | import java.io.*;
import java.util.*;
public class Main {
private static class Tuple {
public final int a;
public final int b;
public Tuple(int a, int b) {
this.a = a;
this.b = b;
}
}
public static void main(String[] args) throws Throwable {
return;
Scanner scanner = new Scan... | Main.java:16: error: unreachable statement
Scanner scanner = new Scanner(System.in);
^
1 error
|
s180917271 | p03719 | Java | import java.io.*;
import java.util.*;
public class Main {
private static class Tuple {
public final int a;
public final int b;
public Tuple(int a, int b) {
this.a = a;
this.b = b;
}
}
public static void main(String[] args) throws Throwable {
Scanner scanner = new Scanner(System.i... | Main.java:28: error: <identifier> expected
for (int i = 0, long k = 0; k < K && i < N; i++) {
^
Main.java:28: error: '.class' expected
for (int i = 0, long k = 0; k < K && i < N; i++) {
^
Main.java:28: error: ')' expected
for (int i = 0, long k = 0; k < K && i < N... |
s654028960 | p03719 | Java | import java.util.*;
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(c>=a&c<=b){
System.out.print("Yes")
}else{
System.out.print("No"... | Main.java:11: error: ';' expected
System.out.print("Yes")
^
Main.java:13: error: ';' expected
System.out.print("No")
^
2 errors
|
s198586733 | p03719 | C++ | #include <iostream>
int main()
{
int a, b, c;
std::cin >> a >> b >> c;
if (a <= c && c <= b) {
std::out << "Yes" << std::endl;
} else {
std::out << "No" << std::endl;
}
} | a.cc: In function 'int main()':
a.cc:9:10: error: 'out' is not a member of 'std'; did you mean 'oct'?
9 | std::out << "Yes" << std::endl;
| ^~~
| oct
a.cc:11:10: error: 'out' is not a member of 'std'; did you mean 'oct'?
11 | std::out << "No" << std::endl;
| ^... |
s170438417 | p03719 | Java | import java.util.Scanner;
public class atCoder_61_A {
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");
} else {
System.out.println("... | Main.java:3: error: class atCoder_61_A is public, should be declared in a file named atCoder_61_A.java
public class atCoder_61_A {
^
1 error
|
s916107827 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
//const ll mod = 1000000007;
int main()
{
int a,b,c;
cin >> a>>b>>c;
string ans="No";
if((a<=c)&&((c<=b)) ans="Yes";
cout<<ans<<endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:15:22: error: expected ';' before 'ans'
15 | if((a<=c)&&((c<=b)) ans="Yes";
| ^~~~
| ;
a.cc:16:21: error: expected ')' before ';' token
16 | cout<<ans<<endl;
| ^
| ... |
s453190006 | p03719 | C++ | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <cmath>
#include <map>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> plglg;
typedef pair<double, ll> pdlg;
typedef tuple<int, int, int> tiii;
typedef tuple<ll, ll, ll> tlglglg;
typedef tup... | a.cc: In function 'int main()':
a.cc:20:9: error: expected primary-expression before '<' token
20 | if(a =< c && c =< b){
| ^
a.cc:20:19: error: expected primary-expression before '<' token
20 | if(a =< c && c =< b){
| ^
|
s409750910 | 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:7:14: error: expected primary-expression before '>' token
7 | if(c=>a&&c<=b){
| ^
|
s861583102 | p03719 | Java | import java.util.*;
// cin=sc.nextInt();
// List<Integer> a = new ArrayList<Integer>(n);
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(c>=a && c <= b){
System.out.println(... | Main.java:15: error: package Sytem does not exist
Sytem.out.println("No");
^
1 error
|
s341506007 | p03719 | Java | import java.util.*;
// cin=sc.nextInt();
// List<Integer> a = new ArrayList<Integer>(n);
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(c>=a && c <= b){
System.out.println(... | Main.java:17: error: incompatible types: unexpected return value
return 0;
^
1 error
|
s409312840 | p03719 | Java | import java.util.*;
// cin=sc.nextInt();
// List<Integer> a = new ArrayList<Integer>(n);
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(c>=a && c <= b){
System.out.println(... | Main.java:15: error: package Sytem does not exist
Sytem.out.println("No");
^
Main.java:17: error: incompatible types: unexpected return value
return 0;
^
2 errors
|
s501954731 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a>-100&&c<100&&a<b&&a<c&&c<b){cout<"Yes";}
else{cout"No";}
cout<<endl;
} | a.cc: In function 'int main()':
a.cc:7:46: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'const char [4]')
7 | if(a>-100&&c<100&&a<b&&a<c&&c<b){cout<"Yes";}
| ~~~~^~~~~~
| ... |
s110897021 | p03719 | C++ | #include<bits/sdtc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
cout<<(c>=a&&c<=b?"Yes":"No");
} | a.cc:1:9: fatal error: bits/sdtc++.h: No such file or directory
1 | #include<bits/sdtc++.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
|
s022914255 | p03719 | C++ | #include <iostream>
using namespace std;
int A,B,C;
int main(){
cin >> A >> B >> C;
cout << ((A<=C %% C<=B)? "Yes":"No") << endl;
}
| a.cc: In function 'int main()':
a.cc:6:19: error: expected primary-expression before '%' token
6 | cout << ((A<=C %% C<=B)? "Yes":"No") << endl;
| ^
|
s130075550 | 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: In function 'main':
main.c:7:20: error: expected expression before '=' token
7 | if(c >= a && c <== b){
| ^
|
s232253354 | p03719 | C++ | #include<bits/stdc++.h>
using namespace std;
{int a,b,c;
cin>>a>>b>>c;
if (c>=a && c<=b)
{
cout<<"Yes";
}
else
cout<<"No";
return 0;
}
| a.cc:4:1: error: expected unqualified-id before '{' token
4 | {int a,b,c;
| ^
|
s504063916 | p03719 | C++ | #include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c;
if((c>=a)&&(c<=b))
cout<<"Yes";
else
cout<<"No";
} | a.cc:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s194471839 | p03719 | C++ | (let ((a (read))
(b (read))
(c (read)))
(if (and (<= a c) (>= b c))
(princ "Yes")
(princ "No"))) | a.cc:1:5: error: expected ')' before '(' token
1 | (let ((a (read))
| ~ ^~
| )
|
s097639557 | p03719 | C++ |
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:8:4: error: 'cin' was not declared in this scope
8 | cin>>a>>b>>c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
+++ |+#include <iostream>
1 |
a.cc:10:5: error: 'cout' was not decla... |
s975553243 | p03719 | Java | import java.util.Scanner;
publiv class a
{
public static void main(String[] args)
{
Scanner ob=new Scanner(System.in);
System.out.println("Y");
int a=ob.nextInt();
int b=ob.nextInt();
int c=ob.nextInt();
if(c>=a&&c<=b)
{
System.out.println("Yes");
}
else
System.out.println("No");
}
} | Main.java:2: error: class, interface, enum, or record expected
publiv class a
^
1 error
|
s524396821 | p03719 | Java | import java.util.Scanner;
publiv class a
{
public static void main(String[] args)
{
Scanner ob=new Scanner(System.in);
int a=ob.nextInt();
int b=ob.nextInt();
int c=ob.nextInt();
if(c>=a&&c<=b)
{
System.out.println("Yes");
}
else
System.out.println("No");
}
} | Main.java:2: error: class, interface, enum, or record expected
publiv class a
^
1 error
|
s087857072 | p03719 | C++ | #include<stdio.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | a.cc:2:1: error: '::main' must return 'int'
2 | void main()
| ^~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope
5 | cin>>A>>B>>C;
| ^~~
a.cc:7:1: error: 'cout' was not declared in this scope
7 | cout<<"YES";
| ^~~~
a.cc:9:1: error: 'cout' was not de... |
s168907209 | p03719 | C++ | #include<bits/stdc++.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | a.cc:2:1: error: '::main' must return 'int'
2 | void main()
| ^~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin>>A>>B>>C;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
... |
s867218764 | p03719 | C | #include<bits/stdc++.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
}
| main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
1 | #include<bits/stdc++.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
|
s690517130 | p03719 | C | #include<istream.h>
#include<ostream.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
}
| main.c:1:9: fatal error: istream.h: No such file or directory
1 | #include<istream.h>
| ^~~~~~~~~~~
compilation terminated.
|
s671869153 | p03719 | C | #include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a, b, c;
scanf("%d%d%d",&a,&b,&c);
if(c>=a&&c<=b)
{
printf("Yes");
}
else
{
printf("No");
}
getch();
} | main.c:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s896237716 | p03719 | C | #include<fstream>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
}
| main.c:1:9: fatal error: fstream: No such file or directory
1 | #include<fstream>
| ^~~~~~~~~
compilation terminated.
|
s341923339 | p03719 | C | #include<iostream>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
}
| main.c:1:9: fatal error: iostream: No such file or directory
1 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s156221592 | p03719 | C | #include<ostream>
void main()
{
int A,B,C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
}
| main.c:1:9: fatal error: ostream: No such file or directory
1 | #include<ostream>
| ^~~~~~~~~
compilation terminated.
|
s855642704 | p03719 | C | #include<istream>&#include<ostream>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
}
| main.c:1:18: warning: extra tokens at end of #include directive
1 | #include<istream>&#include<ostream>
| ^
main.c:1:9: fatal error: istream: No such file or directory
1 | #include<istream>&#include<ostream>
| ^~~~~~~~~
compilation terminated.
|
s027998957 | p03719 | C | #include<istream>
#include<ostream>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | main.c:1:9: fatal error: istream: No such file or directory
1 | #include<istream>
| ^~~~~~~~~
compilation terminated.
|
s802926138 | p03719 | C | #include<stdio.h>
#include<conio.h>
void main()
{
int A,B,C;
scanf("%d%d%d",&A,&B,&C);
if((C>=A)&&(C<=B))
printf("\nYES");
else
printf("\nNO");
getch();
} | main.c:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s102157447 | p03719 | C++ | #include <iostream>
using namespace std;
int main(){
int A ;
int B;
int C;
cout<<"enter A";
cin>>A;
cout <<"enter B";
cin>>B;
cout <<"enter C";
cin>>C;
if( A>=-100 && A=<100 && B>=-100 && B=<100 && C>=-100 && C=<100){
if(A<=C && B>=C ){
cout<<"yes";
}
else cout<<"no";
} else cout<<"no";
}
| a.cc: In function 'int main()':
a.cc:15:18: error: expected primary-expression before '<' token
15 | if( A>=-100 && A=<100 && B>=-100 && B=<100 && C>=-100 && C=<100){
| ^
a.cc:15:39: error: expected primary-expression before '<' token
15 | if( A>=-100 && A=<100 && B>=-100 && B=<100 && C>=-1... |
s591782822 | p03719 | C++ | #include <iostream>
using namespace std;
int main(){
int A ;
int B;
int C;
cout<<"enter A";
cin>>A;
cout <<"enter B";
cin>>B;
cout <<"enter C";
cin>>C;
if( A>=-100 && A=<100 && B>=-100 && B=<100 && C>=-100 && C=<100){
if(A<=C && B>=C ){
cout<<"yes";
}
else cout<<"no";
} else cout<<"no";
} | a.cc: In function 'int main()':
a.cc:15:18: error: expected primary-expression before '<' token
15 | if( A>=-100 && A=<100 && B>=-100 && B=<100 && C>=-100 && C=<100){
| ^
a.cc:15:39: error: expected primary-expression before '<' token
15 | if( A>=-100 && A=<100 && B>=-100 && B=<100 && C>=-1... |
s426399330 | p03719 | C | #include<iostream.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | main.c:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s947237010 | p03719 | C | #include<iostream.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | main.c:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s836975185 | p03719 | C++ | #include<iostream.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | a.cc:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s633904253 | p03719 | C++ | #include<iostream.h>
void main()
{
int A,B,C;
cin>>A>>B>>C;
if((C>=A)&&(C<=B))
cout<<"YES";
else
cout<<"NO";
getch();
} | a.cc:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s967418281 | p03719 | C++ | #include <iostream>;
using namespace std;
intmain<>
{ int A B C;
cin>> A B C>> end1;
if (-100<=A,B,C<=100 , A<=C<=B)
{
cout<<yes;
}
else {
cout<<no;
}
}
return (0) | a.cc:1:20: warning: extra tokens at end of #include directive
1 | #include <iostream>;
| ^
a.cc:3:1: error: 'intmain' does not name a type
3 | intmain<>
| ^~~~~~~
a.cc:15:1: error: expected unqualified-id before 'return'
15 | return (0)
| ^~~~~~
|
s176591099 | p03719 | C++ | #include<iostream>
using namespace std;
int main()
{int A;int B;int C;
-100=<A,B,C=<100;
cin>>A>>B>>C;
if(A<=C<=B) {
cout<<"Yes"<<endl;}
else {cout<<"No"<<endl;}
return 0;} | a.cc: In function 'int main()':
a.cc:5:6: error: expected primary-expression before '<' token
5 | -100=<A,B,C=<100;
| ^
a.cc:5:13: error: expected primary-expression before '<' token
5 | -100=<A,B,C=<100;
| ^
|
s389128394 | p03719 | C++ | #include<iostream>
using namespace std;
int main()
(
int a,b,c;
congratulations>>a>>b>>c;
if(c>=a,&&c<=b)
{count<<"yes"<<endl;
}
else
{count<<"no"<<endl;
}
return0;
} | a.cc:5:7: error: 'b' has not been declared
5 | int a,b,c;
| ^
a.cc:5:9: error: 'c' has not been declared
5 | int a,b,c;
| ^
a.cc:5:10: error: expected ')' before ';' token
5 | int a,b,c;
| ^
| )
a.cc:4:1: note: to match this '('
4 | (
| ^
a.c... |
s297317265 | p03719 | C | #include <iostream>
using namspace std;
int main()
{
int a,b,c;
cout<<"enter the value of a"<<endl;
cout <<"enter the value of b"<<endl;
cout <<"enter the value of c"<<endl;
cin>>a>>b>>c;
if (c>=a,&&c<=b)
{cout<<"yes"<<endl;
}
else
{ cout<<"no"<<endl;
}
return0;
} | main.c:1:10: fatal error: iostream: No such file or directory
1 | #include <iostream>
| ^~~~~~~~~~
compilation terminated.
|
s065209065 | p03719 | C++ | #include <iostream>
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:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin>>a>>b>>c;
| ^~~
| std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ... |
s041829006 | p03719 | C++ | #include <iostream>
using namespace std;
//Compiler version g++ 6.3.0
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:9:14: error: expected primary-expression before '>' token
9 | if(c=>a&&c<=b)
| ^
a.cc: At global scope:
a.cc:14:1: error: expected unqualified-id before 'return'
14 | return 0;
| ^~~~~~
a.cc:15:1: error: expected declaration before '}' token
... |
s490794477 | p03719 | C++ | int a,b,c;
cin>>a;
cin>>b;
cin>>c;
if(c>=a && c<=b){
cout<<"yes\n";}
else{
cout<<"no\n";} | a.cc:2:1: error: 'cin' does not name a type
2 | cin>>a;
| ^~~
a.cc:3:1: error: 'cin' does not name a type
3 | cin>>b;
| ^~~
a.cc:4:1: error: 'cin' does not name a type
4 | cin>>c;
| ^~~
a.cc:5:1: error: expected unqualified-id before 'if'
5 | if(c>=a && c<=b){
| ^~
a.cc:7:1: err... |
s567273855 | p03719 | C++ | #include<iostream.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:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s904283480 | p03719 | C++ | int a,b,c;
cin>>a>>b>>c;
if(c>=a && c<=b){
cout<<"yes\n";}
else{
cout<<"no\n";} | a.cc:2:1: error: 'cin' does not name a type
2 | cin>>a>>b>>c;
| ^~~
a.cc:3:1: error: expected unqualified-id before 'if'
3 | if(c>=a && c<=b){
| ^~
a.cc:5:1: error: expected unqualified-id before 'else'
5 | else{
| ^~~~
|
s190376624 | p03719 | C++ | #include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c;
if((c>=a)&&(c<=b))
{
cout<<"Yes";
}
else
{
cout<<"No";
}
} | a.cc:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s002559810 | p03719 | C | #include<stdio.h>
#include<math.h>
int main(){
int a,b,c;
scanf("%d %d %d\n",&a,&b,&c);
if(c>=a && c<=b){
printf(""Yes);
}else{
printf("No");
}
return 0;
} | main.c: In function 'main':
main.c:12:10: error: expected ')' before 'Yes'
12 | printf(""Yes);
| ~ ^~~
| )
|
s918827376 | p03719 | C++ | //This code is solely the property of StarnyC
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(c<=b&&a<=c){cout<<"Yes";}
else{cout<<"No";
}
}
}
| a.cc:24:1: error: expected declaration before '}' token
24 | }
| ^
|
s339666412 | 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:10:7: warning: missing terminating " character
10 | cout<<"No;
| ^
a.cc:10:7: error: missing terminating " character
10 | cout<<"No;
| ^~~~
a.cc: In function 'int main()':
a.cc:11:1: error: expected primary-expression before '}' token
11 | }
| ^
|
s778886039 | p03719 | Java | import java.io.*;
import java.util.*;
class probA
{
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(c>=a&&c<=b)System.out.println("Yes");
else System.out.println("No");
} | Main.java:13: error: reached end of file while parsing
}
^
1 error
|
s529722198 | p03719 | Java | import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner in=new Scanner();
int a=in.nextInt();
int b=in.nextInt();
int c=in.nextInt();
if(c>a&&c<b)
System.out.println("Yes");
else
System.out.println("No");
}
}
| Main.java:6: error: no suitable constructor found for Scanner(no arguments)
Scanner in=new Scanner();
^
constructor Scanner.Scanner(Readable,Pattern) is not applicable
(actual and formal argument lists differ in length)
constructor Scanner.Scanner(Readable) is not applicable
(actual and f... |
s871216537 | 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:10:7: warning: missing terminating " character
10 | cout<<"No;
| ^
a.cc:10:7: error: missing terminating " character
10 | cout<<"No;
| ^~~~
a.cc: In function 'int main()':
a.cc:11:1: error: expected primary-expression before '}' token
11 | }
| ^
|
s782284831 | p03719 | C++ | //This code is solely the property of StarnyC
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(c<=b&&a<=c){cout<<"YES";}
else{cout<<"NO";
}
}
}
| a.cc:24:1: error: expected declaration before '}' token
24 | }
| ^
|
s293252772 | p03719 | C++ | #include<iostream>
using namespace std;
int main()
{
cin>>a>>b>>c;
if(c>a && c<b)
cout<<"YES";
else
cout<<"NO";
} | a.cc: In function 'int main()':
a.cc:5:6: error: 'a' was not declared in this scope
5 | cin>>a>>b>>c;
| ^
a.cc:5:9: error: 'b' was not declared in this scope
5 | cin>>a>>b>>c;
| ^
a.cc:5:12: error: 'c' was not declared in this scope
5 | cin>>a>>b>>c;
| ^
|
s670571016 | p03719 | C | #include<cstdio>
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: cstdio: No such file or directory
1 | #include<cstdio>
| ^~~~~~~~
compilation terminated.
|
s717962295 | p03719 | C++ | #inclide<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:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
1 | #inclide<iostream>
| ^~~~~~~
| 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 header '<ios... |
s880216472 | p03719 | C++ | //algorithms.cpp
//Sun Jun 3 10:16:42 2018
#include <iostream>
#include <string>
#include <queue>
#include <unordered_map>
#include <vector>
#include <algorithm>
using namespace std;
//最大公倍数、最大公約数(ユークリッド互除法)
long long gcd (long long a, long long b){ //最大公約数
if (b == 0){
return a;
}
return gcd(b, a%b);
}
long ... | a.cc: In function 'void dfs(int)':
a.cc:33:24: error: 'n' was not declared in this scope
33 | for (int i=0;i<n;i++){
| ^
a.cc: At global scope:
a.cc:49:9: error: expected unqualified-id before 'while'
49 | while (xx.size()){
| ^~~~~
a.cc:65:9: error: expe... |
s388875120 | p03719 | C++ | #include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&c);
if (A <=C)
{if (C <=B)
{
printf("Yes\n");
}
else
{
printf("No\n");
}
}
else
{
printf("No\n");
}
system("pause");
}
} | a.cc: In function 'int main()':
a.cc:9:10: error: 'A' was not declared in this scope
9 | if (A <=C)
| ^
a.cc:9:14: error: 'C' was not declared in this scope
9 | if (A <=C)
| ^
a.cc:10:18: error: 'B' was not declared in this scope
10 | {if (C <=B)
| ... |
s742325424 | 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:7:16: error: expected primary-expression before '>' token
7 | if(a<=c&&b=>c)
| ^
|
s282503619 | p03719 | C++ | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int a = in.nextInt(), b = in.nextInt(), c = in.nextInt();
if (c ... | a.cc:1:1: error: 'import' does not name a type
1 | import java.io.BufferedReader;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
2 | import java.io.InputStreamReader;
| ^~~~~~
a.cc:2:1: note: C++20 'import' only available wit... |
s419798937 | p03719 | C++ | import sys
import math
import collections
import itertools
import array
import inspect
# Set max recursion limit
sys.setrecursionlimit(1000000)
# Debug output
def chkprint(*args):
names = {
id(v): k
for k, v in inspect.currentframe().f_back.f_locals.items()
}
print(', '.join(
name... | a.cc:8:3: error: invalid preprocessing directive #Set
8 | # Set max recursion limit
| ^~~
a.cc:12:3: error: invalid preprocessing directive #Debug
12 | # Debug output
| ^~~~~
a.cc:18:11: warning: multi-character character constant [-Wmultichar]
18 | print(', '.join(
| ^~~~
... |
s519417673 | 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) cout<<"Yes"<<endl;
else cout<<"No"<<endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:6:15: error: expected primary-expression before '<' token
6 | if (a=<c and c<=b) cout<<"Yes"<<endl;
| ^
|
s294903573 | p03719 | Java | #include<stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if((a>=-100 && a<=100) && (b>=-100 && b<=100) && (c>=-100 && c<=100)){
if(c>=a && c<=b){
printf("Yes\n");
}
else{
printf("No\n");
}
}
return 0;
}
| Main.java:1: error: illegal character: '#'
#include<stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include<stdio.h>
^
Main.java:6: error: class, interface, enum, or record expected
scanf("%d%d%d",&a,&b,&c);
^
Main.java:7: error: class, interface, enum, or record expected
... |
s979334223 | p03719 | C++ | #include<iostream>
#include<set>
using namespace std;
int main(){
int N, M;
int a[110];
multiset<int> st;
for(int i = 0; i < 2*M; i += 2){
cin >> a[i];
st.insert(a[i]);
}
for(int i = 0; i < N)
cout << st.count(i+1) << endl;
}
| a.cc: In function 'int main()':
a.cc:14:23: error: expected ';' before ')' token
14 | for(int i = 0; i < N)
| ^
| ;
|
s728870645 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main() {
ios::sync_with_stdio(false);
cin >> a >> b >> c;
if(a <= b && b<= c) cout << "Yes" << endl;
els cout << "No" << endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:9:5: error: 'els' was not declared in this scope
9 | els cout << "No" << endl;
| ^~~
|
s869265562 | 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;
}
return 0;
} | a.cc:7:9: error: extended character “ is not valid in an identifier
7 | cout << “Yes” << endl;
| ^
a.cc:7:9: error: extended character ” is not valid in an identifier
a.cc:9:9: error: extended character “ is not valid in an identifier
9 | cout << “No” << endl;
| ^
a.cc:9:9: error: ex... |
s772480088 | 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:7:9: error: extended character “ is not valid in an identifier
7 | cout << “Yes” << endl;
| ^
a.cc:7:9: error: extended character ” is not valid in an identifier
a.cc:9:9: error: extended character “ is not valid in an identifier
9 | cout << “No” << endl;
| ^
a.cc:9:9: error: ex... |
s261099110 | 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:6:14: error: expected primary-expression before '<' token
6 | if(a<=c&&c=<b){cout<<"YES"<<endl;}
| ^
|
s541404355 | 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:6:14: error: expected primary-expression before '<' token
6 | if(a<=c&&c=<b){cout<<"YES"<<endl;}
| ^
a.cc:7:24: error: expected ';' before ':' token
7 | else{cout<<"NO"<<endl:}
| ^
| ;
|
s797731489 | p03719 | C++ | #include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<map>
#include<set>
#include<utility>
using namespace std;
typedef long long ll;
#define rep(i,a,n) for(int i=a;i<n;i++)
#define rrep(i,a,n) for(int i=(a-1);i>=n;i--)
ll gcd(ll a,ll b){
if(b==0)return a;
return gcd(b,a%b);
}
ll lcm(ll ... | a.cc: In function 'int main()':
a.cc:34:24: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
34 | else cout<<"No"<endl;
| ~~~~~~~~~~^~~~~
In file included from /usr/include/c++/14/string:48,
from /us... |
s825821848 | p03719 | C++ | #include<iostream>
#include<algorithm>
#include<vector>
#include<string>
using namespace std;
typedef long long lng;
#define FOR(i,a,b) for(int i=(a); i<=(b); ++i)
#define FORD(i,b,a) for(int i=(b); i>=(a); --i)
#define REP(i,n) FOR(i,0,n-1)
#define ALL(a) (a).begin(), (a).end()
#define UNIQUE(a) a.erase(unique(ALL(a))... | a.cc:19:8: error: expected initializer before '<' token
19 | int A,B<C;
| ^
a.cc: In function 'int main()':
a.cc:25:17: error: 'B' was not declared in this scope
25 | cin >> A >> B >> C;
| ^
a.cc:25:22: error: 'C' was not declared in this scope
25 | cin >> A >> B >> C... |
s625089409 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
int main(void){
int a, b, c;
cin >> a >> b >> c;
cout << (a<=c && c<=b) ? "Yes":"No" << endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:9:39: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
9 | cout << (a<=c && c<=b) ? "Yes":"No" << endl;
| ~~~~~^~~~~~~
|
s371326975 | p03719 | C++ | main :: IO ()
main = do
[a,b,c] <- fmap (map read . words) getLine :: IO [Int]
putStrLn $ if a <= c && c <= b
then "Yes"
else "No" | a.cc:1:1: error: 'main' does not name a type
1 | main :: IO ()
| ^~~~
|
s889769433 | p03719 | C++ | #include <iostream>
#include <string>
int main()
{
int a, b, c;
std::cin >> a >> b >> c;
std::string ans = "";
if( a <= c and c <= b ) {
ans = "Yes";
}
else {
ans = "No";
}
std::cout << ans << std::endl;
return 0;
}
#include <iostream>
#include <string>
int main()
{
int a, b, c;
std::cin >> a >> b... | a.cc:23:5: error: redefinition of 'int main()'
23 | int main()
| ^~~~
a.cc:4:5: note: 'int main()' previously defined here
4 | int main()
| ^~~~
a.cc:39:1: error: 'Submission' does not name a type
39 | Submission
| ^~~~~~~~~~
|
s047562884 | p03719 | C | #include <iostream>
#include <string>
int main()
{
int a, b, c;
std::cin >> a >> b >> c;
std::string ans = "";
if( a <= c and c <= b ) {
ans = "Yes";
}
else {
ans = "No";
}
std::cout << ans << std::endl;
return 0;
}
| main.c:1:10: fatal error: iostream: No such file or directory
1 | #include <iostream>
| ^~~~~~~~~~
compilation terminated.
|
s856008561 | p03719 | C++ | #include<iostream>
int main() {
int A,B,C;
std::cin >> A >> B >> C;
if(A<=C and C6<=B) {
std::cout << "YES" << std::endl;
}
else {
std::cout << "NO" << std::endl;
}
return 0;
}
| a.cc: In function 'int main()':
a.cc:5:13: error: 'C6' was not declared in this scope; did you mean 'C'?
5 | if(A<=C and C6<=B) {
| ^~
| C
|
s192339128 | p03719 | C++ | #include <sstream>
#include <iostream>
using namespace std;
int main(){
int a,b,c,d;
cin >> a >> b >> c;
}
if (b >= c && c >=a ){
cout << "Yes" << endl;
} else{
cout << "No" << endl;
}
return 0;
}
| a.cc:8:3: error: expected unqualified-id before 'if'
8 | if (b >= c && c >=a ){
| ^~
a.cc:10:5: error: expected unqualified-id before 'else'
10 | } else{
| ^~~~
a.cc:13:3: error: expected unqualified-id before 'return'
13 | return 0;
| ^~~~~~
a.cc:14:1: error: expected declarat... |
s869841464 | p03719 | C++ | #include <sstream>
#include <iostream>
using namespace std;
int main(){
int a,b,c,d;
cin >> a>> b >> c;
if (a < b){
d = a;
a = b;
b = d;
}
if (a >= c)&&( c >=b ){
cout << "Yes" << endl;
}else{
cout << "No" << endl;}
return 0;
}
| a.cc: In function 'int main()':
a.cc:12:16: error: expected identifier before '(' token
12 | if (a >= c)&&( c >=b ){
| ^
|
s881966099 | p03719 | C++ | #include <sstream>
#include <iostream>
using namespace std;
int main(){
int a,b,c,d;
cin >> a>> b >> c;
if (a < b){
d = a;
a = b;
b = d;
}
if (a >= c)&&(c >=b ){
cout << "Yes" << endl;
}else{
cout << "No" << endl;}
return 0;
} | a.cc: In function 'int main()':
a.cc:12:16: error: expected identifier before '(' token
12 | if (a >= c)&&(c >=b ){
| ^
|
s939012059 | p03719 | C++ | #include<iostream>
#include<algorithm>
#include<math.h>
#include<set>
#include<vector>
#include<map>
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:11:7: error: 'A' was not declared in this scope
11 | if(c>=A&&c<=b)
| ^
|
s541686377 | p03719 | C++ | import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;
import std.range;
void main(){
auto Q=readln.split.to!(int[]),A=Q[0],B=Q[1],C=Q[2];
if(C>=A&&C<=B)writeln("Yes");
else writeln("No");
} | a.cc:1:1: error: 'import' does not name a type
1 | import std.stdio;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
2 | import std.string;
| ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: e... |
s144534485 | p03719 | C++ | import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;
import std.range;
void main(){
auto Q=readln.split.to!(int[]),A=Q[0],B=Q[1],C=Q[2];
if(C>=A&&C<=B)writeln("Yes");
else writeln("No");
}
| a.cc:1:1: error: 'import' does not name a type
1 | import std.stdio;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
2 | import std.string;
| ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: e... |
s740623441 | p03719 | C++ | コード 拡げる
Copy
Copy
#include <iostream>
using namespace std;
int main ()
{
int d;
int m;
int l;
cin >> m;
cin >> d;
cin >> l;
if(m<=d&&d<l)
{
cout << "Yes" << endl;
}
else
{
cout << "No" << endl;
}
return 0;
}
| a.cc:1:1: error: '\U000030b3\U000030fc\U000030c9' does not name a type
1 | コード 拡げる
| ^~~~~~
In file included from /usr/include/c++/14/iosfwd:42,
from /usr/include/c++/14/ios:40,
from /usr/include/c++/14/ostream:40,
from /usr/include/c++/14/iostream:41,
... |
s575116091 | p03719 | C++ | #include<iostream>
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:4:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
4 | cin >> a >> b >> c;
| ^~~
| std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to... |
s462765455 | p03719 | C++ | #include <bits/stdc++.h>
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:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
4 | cin>>a>>b>>c;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: '... |
s299220939 | 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:19:1: error: expected class-name before '~' token
19 | ~
| ^
|
s357485806 | p03719 | Java | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
intA=sc.nextInt();
intB=sc.nextInt();
intC=sc.nextInt();
if(C>=A && C<=B)System.out.println("Yes");
else System.out.println("No");
}
} | Main.java:5: error: cannot find symbol
intA=sc.nextInt();
^
symbol: variable intA
location: class Main
Main.java:6: error: cannot find symbol
intB=sc.nextInt();
^
symbol: variable intB
location: class Main
Main.java:7: error: cannot find symbol
intC=sc.nextInt();
^
symbol: variable intC
lo... |
s355950143 | p03719 | Java | import java.util.Scanner;
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(a <= c && c <= b){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
} | Main.java:6: error: cannot find symbol
int b = sc.nextINt();
^
symbol: method nextINt()
location: variable sc of type Scanner
1 error
|
s497531353 | p03719 | Java | import java.util.Scanner;
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(a <= c,c <= b){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
} | Main.java:8: error: ')' expected
if(a <= c,c <= b){
^
Main.java:8: error: not a statement
if(a <= c,c <= b){
^
Main.java:8: error: ';' expected
if(a <= c,c <= b){
^
Main.java:10: error: 'else' without 'if'
}else{
^
4 errors
|
s602458937 | p03719 | C++ | using System;
public class Hello
{
public static void Main()
{
string[] line = Console.ReadLine().Trim().Split(' ');
var a = int.Parse(line[0]);
var b = int.Parse(line[1]);
var c = int.Parse(line[2]);
Console.WriteLine(c >= a && c <= b ? "Yes" : "No");
}
} | a.cc:1:7: error: expected nested-name-specifier before 'System'
1 | using System;
| ^~~~~~
a.cc:3:1: error: expected unqualified-id before 'public'
3 | public class Hello
| ^~~~~~
|
s679910671 | p03719 | C | #include <stdio.h>
void nothing(void);
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;
};6 | main.c:19:3: error: expected identifier or '(' before numeric constant
19 | };6
| ^
|
s109498856 | p03719 | C++ | #include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <vector>
#include <set>
#include <queue>
#include <stack>
#include <unordered_set>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
static const int INF = 1000010000;
static const int NIL = -1;
static const... | a.cc: In function 'int main()':
a.cc:85:7: error: 'assert' was not declared in this scope
85 | assert(flag == -2);
| ^~~~~~
a.cc:10:1: note: 'assert' is defined in header '<cassert>'; this is probably fixable by adding '#include <cassert>'
9 | #include <unordered_set>
+++ |+#include <cassert>... |
s154494711 | 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:11:15: 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/include/c++/14/b... |
s656852352 | p03719 | C++ | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
cout << (a <= c && b => c ? "Yes": "No") << endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:6:25: error: expected primary-expression before '>' token
6 | cout << (a <= c && b => c ? "Yes": "No") << endl;
| ^
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.