submission_id stringlengths 10 10 | problem_id stringlengths 6 6 | language stringclasses 3
values | code stringlengths 1 522k | compiler_output stringlengths 43 10.2k |
|---|---|---|---|---|
s592950961 | p03719 | C++ | 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");
}
}
}
| a.cc:1:1: error: 'import' does not name a type
1 | import java.util.Scanner;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
3 | public class Main {
| ^~~~~~
|
s862095286 | p03719 | C++ | #include<bits/stdc++.h>
int main(){
int n,m,i,a;
int x[51];
cin>>n>>m;
for(i=1;i<=n;i++){
x[i]=0;
}
for(i=0;i<m*2;i++){
cin>>a;
x[a]+=1;
}
for(i=1;i<=n;i++){
cout<<x[i];
}
return 0;
} | a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin>>n>>m;
| ^~~
| 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: 'std... |
s901101111 | p03719 | C | #include<stdio.h>
int main()
{int a,b,c,d=0,e=0;
scanf("%d %d %d ",&a,&b,&c);
if(a<=c)
{ d++;}
if(b>=c)
{e++;}
If (d==e){
printf("YES");}
else{
printf("NO");}
}
| main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
10 | If (d==e){
| ^~
main.c:10:10: error: expected ';' before '{' token
10 | If (d==e){
| ^
| ;
|
s239430583 | p03719 | C | #include<stdio.h>
int main()
{int a,b,c,d=0,e=0;
scanf("%d %d %d ",&a,&b,&c);
if(a<=c)
{ d++;}
if(b>=c)
{e++;}
if (d==e){
printf("YES");}
else{
printf("NO");}
}
} | main.c:17:1: error: expected identifier or '(' before '}' token
17 | }
| ^
|
s809550029 | p03719 | C | #include<stdio.h>
int main()
{int a,b,c,d=0,e=0;
scanf("%d %d %d ",&a,&b,&c);
if(a<=c)
{ d++;}
if(b>=c)
{e++;}
If (d==e){
printf("YES");}
else{
printf("NO");}
}
} | main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
10 | If (d==e){
| ^~
main.c:10:10: error: expected ';' before '{' token
10 | If (d==e){
| ^
| ;
main.c: At top level:
main.c:17:1: error: expected identifier ... |
s807015905 | p03719 | C | #include<studio.h>
int main(){
int A,B,C;
printf ("enter values of A,B,C respectively");
scanf("A=%d",A);
scanf("B=%d",B);
scanf("C=%d",C);
if (C>=A)&&(C<=B)
{
Printf("yes");
}
Else
{
Printf("no");
}
Return 0;
} | main.c:1:9: fatal error: studio.h: No such file or directory
1 | #include<studio.h>
| ^~~~~~~~~~
compilation terminated.
|
s709247525 | p03719 | C | #include<stdio.h>
int main()
{int a,b,c,d,e,f;
scanf("%d %d %d ",&a,&b,&c);
if(a<=c)
{ d=1;}
if(b>=c)
{e=1;}
If (d==e){
printf("%d",f);}
}
} | main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
10 | If (d==e){
| ^~
main.c:10:10: error: expected ';' before '{' token
10 | If (d==e){
| ^
| ;
main.c: At top level:
main.c:15:1: error: expected identifier ... |
s543944579 | p03719 | C | #include<stdio.h>
int main()
{int a,b,c,d,e,f;
scanf("%d %d %d ",&a,&b,&c);
if(a<=c)
{ d=1;}
if(b>=c)
{e=1;}
If (d=e){
printf("%d",f);}
}
} | main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
10 | If (d=e){
| ^~
main.c:10:9: error: expected ';' before '{' token
10 | If (d=e){
| ^
| ;
main.c: At top level:
main.c:15:1: error: expected identifier or '(... |
s431172881 | p03719 | C++ | #include <iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a;
cin>>b;
cin>>c;
if (b>c){
if (c>a){
cout<<"Yes";}
}
else{cout<<"No;}
return 0;
}
| a.cc:15:16: warning: missing terminating " character
15 | else{cout<<"No;}
| ^
a.cc:15:16: error: missing terminating " character
15 | else{cout<<"No;}
| ^~~~~
a.cc: In function 'int main()':
a.cc:16:5: error: expected primary-expression before 'return'
16 | ... |
s446388188 | p03719 | Java | class abc
{
public void show(int a,int b,int c)
{
if((c>=a) && (c<=b))
System.out.print("Yes");
else
System.out.print("No");
}
public static void main(String[] args)
{
abc obj=new abc();
obj.show();
}
} | Main.java:13: error: method show in class abc cannot be applied to given types;
obj.show();
^
required: int,int,int
found: no arguments
reason: actual and formal argument lists differ in length
1 error
|
s063103154 | p03719 | C++ | #include<iostream>
int main()
{ int A,B,C;
cin>>A;
cin>>B;
cin>>C;
if(C<=A||B<=C)
cout<<"YES";
else
{
cout<<"NO";}
return 0;
} | 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;
| ^~~
| 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 standard in... |
s639346074 | p03719 | C++ | #include<iostream.h>
int main()
{ int A,B,C;
cin>>A;
cin>>B;
cin>>C;
if(C<=A||B<=C)
cout<<"YES";
else {
cout<<"NO";}
return 0;
} | a.cc:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s672077467 | p03719 | C++ | #include<iostream>
void main()
{ int A,B,C;
cin>>A;
cin>>B;
cin>>C;
if(C<=A||B<=C)
cout<<"YES";
else
cout<<"NO";
} | a.cc:2:1: error: '::main' must return 'int'
2 | void main()
| ^~~~
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;
| ^~~
| std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' dec... |
s329452513 | p03719 | C++ | #include<iostream.h>
void main()
{ int A,B,C;
cin>>A;
cin>>B;
cin>>C;
if(C<=A||B<=C)
cout<<"YES";
else
cout<<"NO";
} | a.cc:1:9: fatal error: iostream.h: No such file or directory
1 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s711976378 | p03719 | C++ | #include<iostream>
#include<conio.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:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s240677319 | p03719 | C++ | #include<iostream>
#include<conio.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:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s476010265 | p03719 | C++ | #include<iostream>
int main()
{
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: In function 'int main()':
a.cc:7:6: error: expected ')' before '!' token
7 | if((C!<A)&&(C!>B))
| ~ ^
| )
a.cc:8:12: error: expected ')' before ';' token
8 | cout<<"Yes";
| ^
| )
a.cc:7:3: note: to match this '('
7 | if((C!<A)&&(C!>B))
| ^
|
s951481860 | 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";
return 0;
} | a.cc: In function 'int main()':
a.cc:8:10: error: expected primary-expression before '>' token
8 | cin>>>A>>B>>C;
| ^
|
s419042679 | p03719 | C++ | #include<iostream>
#include<conio.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:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s950432228 | p03719 | C++ | #include <bits/stdc++.h>
using namespace std;
#define REP(i, s, n) for (int i = s; i < n; ++i)
#define rep(i, n) REP(i, 0, n)
#define SORT(c) sort((c).begin(), (c).end())
#define IINF INT_MAX
#define LLINF LLONG_MAX
#define DEBUG false
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(a<=c && c<=b) cout<<"Yes"<<en... | a.cc: In function 'int main()':
a.cc:16:10: error: 'coutNN' was not declared in this scope
16 | else coutNN"No"<<endl;
| ^~~~~~
|
s552414774 | p03719 | C | #include<stdio.h>
int main(void){
int A,B,C;
scanf("%d %d %d",&A,&B,&C);
if(A<=C&&B>=C){
printf("YES\n")
}
else{
printf("NO\n");
}
return 0;
} | main.c: In function 'main':
main.c:6:26: error: expected ';' before '}' token
6 | printf("YES\n")
| ^
| ;
7 | }
| ~
|
s973432225 | p03719 | C++ | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <functional>
#include <numeric>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <utility>
#include <sstream>
#include <complex>
#include <fstream>
#include <bitset>
#include ... | a.cc: In function 'int main()':
a.cc:47:24: error: expected primary-expression at end of input
47 | cin >> a >> b >
| ^
a.cc:47:24: error: expected '}' at end of input
a.cc:46:12: note: to match this '{'
46 | int main() {
| ^
|
s396945011 | p03719 | Java | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
short A,B,C = sc.nextShort();
if( A <= C && C <= B ){
System.out.println("Yes");
}else{
System.out.println("No");
}
sc.close();
}
} | Main.java:10: error: variable A might not have been initialized
if( A <= C && C <= B ){
^
Main.java:10: error: variable B might not have been initialized
if( A <= C && C <= B ){
^
2 errors
|
s399015191 | p03719 | Java | import java.util.Scanner;
public class Main01 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
short A,B,C = sc.nextShort();
if( A <= C && C <= B ){
System.out.println("Yes");
}else{
System.out.println("No");
}
sc.close();
}
} | Main.java:3: error: class Main01 is public, should be declared in a file named Main01.java
public class Main01 {
^
1 error
|
s290266256 | 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:18: error: 'c$$c' was not declared in this scope
8 | if (a <= c$$c <= b)cout << "Yes" << endl;
| ^~~~
|
s635617909 | p03719 | C++ | コード
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,x) for(int i=0;i<x;++i)
struct edge{
int from, to, cost;
edge(int from, int to, int cost) : from(from), to(to), cost(cost) {};
};
vector<edge> edges;
const int MAX_N = 100000;
int N, M;
int dist[MAX_N];
void bf... | a.cc:1:1: error: '\U000030b3\U000030fc\U000030c9' does not name a type
1 | コード
| ^~~~~~
In file included from /usr/include/c++/14/bits/stl_algobase.h:62,
from /usr/include/c++/14/algorithm:60,
from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
from a... |
s465647915 | p03719 | C++ | a,b,c = list(map(int, 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 = list(map(int, input().split()))
| ^
|
s331153949 | p03719 | C | #include <stdio.in>
int main(void){
int A, B, C;
scanf("%d", &A);
scanf("%d", &B);
scanf("%d", &C);
if(A<=C && C<=B){
printf("Yes");
}else{
printf("No");
}
} | main.c:1:10: fatal error: stdio.in: No such file or directory
1 | #include <stdio.in>
| ^~~~~~~~~~
compilation terminated.
|
s791448396 | p03719 | C | #include <stdio.h>
int main(void){
int a,b,c;
if(scanf("%d %d %d",&a,&b,&c)>0){
if(-100<=a,b,c<=100){
if(a<=c<=b){
printf("Yes\n");
}else{
printf("No\n");
}
}
return 0;
} | main.c: In function 'main':
main.c:15:1: error: expected declaration or statement at end of input
15 | }
| ^
|
s083493624 | p03719 | C++ | #inlclude <iostream>
using namespace std;
int main(void)
{
int a, b, c;
cin >> a >> b >> c;
if (c >= a && c <= b) cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
} | a.cc:1:2: error: invalid preprocessing directive #inlclude; did you mean #include?
1 | #inlclude <iostream>
| ^~~~~~~~
| include
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
7 | cin >> a >> b >> c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined i... |
s609073523 | p03719 | C++ | #inlclude <bits/stdc++.h>
using namespace std;
int main(void)
{
int a, b, c;
cin >> a >> b >> c;
if (c >= a && c <= b) cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
}
| a.cc:1:2: error: invalid preprocessing directive #inlclude; did you mean #include?
1 | #inlclude <bits/stdc++.h>
| ^~~~~~~~
| include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope
7 | cin >> a >> b >> c;
| ^~~
a.cc:1:1: note: 'std::cin' is defined in h... |
s642065975 | p03719 | Java | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int A = scan.nextInt();
int B = scan.nextInt();
int C = scan.nextInt();
scan.close();
if(A <= C && C<=B){
System.out.println("YES");
}else{
System.out.println(N... | Main.java:16: error: cannot find symbol
System.out.println(NO);
^
symbol: variable NO
location: class Main
1 error
|
s295494264 | 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");
}else{
printf("NO");
}
return 0;
} | main.c: In function 'main':
main.c:4:18: error: expected expression before '%' token
4 | scanf("%d%d%d", %A,%B,%C);
| ^
|
s099260702 | 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:10:1: error: stray '\343' in program
10 | <U+3000><U+3000>return 0;
| ^~~~~~~~
main.c:10:3: error: stray '\343' in program
10 | <U+3000><U+3000>return 0;
| ^~~~~~~~
|
s058514071 | 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");
}
} | main.c:2:1: error: stray '\343' in program
2 | <U+3000>int main(){
| ^~~~~~~~
main.c: In function 'main':
main.c:3:1: error: stray '\343' in program
3 | <U+3000><U+3000>int A, B, C;
| ^~~~~~~~
main.c:3:3: error: stray '\343' in program
3 | <U+3000><U+3000>int A, B, C;
| ^~~~~~~~
ma... |
s806773715 | p03719 | C++ | #include <iostream>
using namespace std;
long long ANUM[100001];
int main(){
int N;
long long K;
cin >>N >>K;
for(int i=0; i < N; i++){
int a,b;
cin >>a >>b;
ANUM[a]+=b;
}
for(int i=1;i<=100000;i++){
if(K<=ANUM[i]){
cout<<i<<endl;
brea... | a.cc: In function 'int main()':
a.cc:21:14: error: expected '}' at end of input
21 | return 0;
| ^
a.cc:4:11: note: to match this '{'
4 | int main(){
| ^
|
s076166200 | p03719 | Java | 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("Yes");
}else{
System.out.println("No");
... | Main.java:4: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:4: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
|
s198875964 | p03719 | C | // ConsoleApplication11.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//
#include "stdafx.h"
int main()
{
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:4:10: fatal error: stdafx.h: No such file or directory
4 | #include "stdafx.h"
| ^~~~~~~~~~
compilation terminated.
|
s573604457 | p03719 | C++ | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <ctime>
#include <climits>
#include <algorithm>
#include <stack>
#include <map>
#include <queue>
#include <set>
#include <vector>
#include <string>
using namespace std;
char s[110][110];
int a,b,c;
int main() {
... | a.cc: In function 'int main()':
a.cc:25:27: error: expected ';' before string constant
25 | if (c>=a && c<=b) cout "Yes" << endl;
| ^~~~~~
| ;
|
s457727017 | p03719 | C++ | a,b,c = map(int,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,input().split())
| ^
|
s648289069 | p03719 | C | #include<studio.h>
int main(void){
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if(a<=c && b>=c)
printf("yes¥n");
else
printf("no¥n");
return 0;
} | main.c:1:9: fatal error: studio.h: No such file or directory
1 | #include<studio.h>
| ^~~~~~~~~~
compilation terminated.
|
s098912211 | p03719 | C | #include<studio.h>
int main(void){
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if(a<=c && b>=c)
printf("yes\n");
else
printf("no\n");
return 0;
} | main.c:1:9: fatal error: studio.h: No such file or directory
1 | #include<studio.h>
| ^~~~~~~~~~
compilation terminated.
|
s218682905 | p03719 | Java | class Main {
public static void main(String[] args) {
Scaneer 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:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scaneer
location: class Main
Main.java:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
|
s038953654 | p03719 | Java | class Main {
public static void main(String[] args) {
Scaneer 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:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scaneer
location: class Main
Main.java:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
|
s786864636 | p03719 | Java | class bba {
public static void main(String[] args) {
Scaneer 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:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scaneer
location: class bba
Main.java:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scanner
location: class bba
2 errors
|
s760118956 | p03719 | Java | class Main {
public static void main(String[] args) {
Scaneer 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:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scaneer
location: class Main
Main.java:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
|
s480165072 | p03719 | Java | class bba {
public static void main(String[] args) {
Scaneer 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:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scaneer
location: class bba
Main.java:3: error: cannot find symbol
Scaneer sc = new Scanner(System.in);
^
symbol: class Scanner
location: class bba
2 errors
|
s689036869 | p03719 | Java | import java.util.Scanner;
public class Road {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int city = sc.nextInt(), road = sc.nextInt();
int[] result = new int[city];
while(sc.hasNextInt()) {
int i = sc.nextInt();
result[i - 1]... | Main.java:2: error: class Road is public, should be declared in a file named Road.java
public class Road {
^
1 error
|
s047047175 | p03719 | Java | public class Between {
public static void main(String[] args) {
System.out.println(Math.max(Integer.parseInt(args[0]), Integer.parseInt(args[1]))==Math.min(Integer.parseInt(args[1]), Integer.parseInt(args[2])) ? "Yes" : "No");
}
} | Main.java:1: error: class Between is public, should be declared in a file named Between.java
public class Between {
^
1 error
|
s121084795 | p03719 | Java | import java.io.*;
import java.util.*;
import java.lang.Math.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
try {
main.solve(args);
} catch (Exception e) {
e.printStackTrace();
}
}
public void solve(String[] ... | Main.java:34: error: incompatible types: Object[] cannot be converted to Integer[]
Integer[] mapkey = map.keySet().toArray();
^
1 error
|
s313978344 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a,b,c;
| a.cc: In function 'int main()':
a.cc:4:15: error: expected '}' at end of input
4 | int a,b,c;
| ^
a.cc:3:11: note: to match this '{'
3 | int main(){
| ^
|
s565242262 | p03719 | C++ | #include<iostream>
#include<algorithm>
#include<stack>
#include<queue>
#include<string>
using namespace std;
#define INFTY 1<<21
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:13:17: error: 'Yes' was not declared in this scope
13 | cout << Yes << endl;
| ^~~
a.cc:16:17: error: 'No' was not declared in this scope
16 | cout << No << endl;
| ^~
|
s560726806 | p03719 | C++ | #include<iostream>
#include<string>
using namespace std;
int main(){
int a,b,c[50],d[50];
cin>>a>>b;s
for(int i=0;i<b;i++){
cin>>c[i];
}
for(int x=0;x<a;x++){
for(int z=0;z<b;z++){
if(c[z]==x){
d[x]++;
}
}
}
for(int y=0;y<a;y++){
cout<<d[y]<<endl;
}
} | a.cc: In function 'int main()':
a.cc:6:19: error: 's' was not declared in this scope
6 | cin>>a>>b;s
| ^
a.cc:7:21: error: 'i' was not declared in this scope
7 | for(int i=0;i<b;i++){
| ^
|
s063623966 | p03719 | C++ | #include<iostream>
#include<string>
using namespace std;
int main{
double a,b,c;
cin>>a>>b>>c;
if(a<=c && b>=c){
cout<<"YES"<<endl;
}
else
cout<<"NO"<<endl;
}
| a.cc:4:5: error: cannot declare '::main' to be a global variable
4 | int main{
| ^~~~
a.cc:5:9: error: expected primary-expression before 'double'
5 | double a,b,c;
| ^~~~~~
a.cc:5:9: error: expected '}' before 'double'
a.cc:4:9: note: to match this '{'
4 | int main{
| ... |
s678258139 | p03719 | C++ | #include<iostream>
#include<string>
using namespace std;
int main{
double a,b,c;
cin>>a>>b>>c;
if(a<=c && b>=c){
cout<<"Yes"<<endl;
else
cout<<"No"<<endl;
}
| a.cc:4:5: error: cannot declare '::main' to be a global variable
4 | int main{
| ^~~~
a.cc:5:9: error: expected primary-expression before 'double'
5 | double a,b,c;
| ^~~~~~
a.cc:5:9: error: expected '}' before 'double'
a.cc:4:9: note: to match this '{'
4 | int main{
| ... |
s581434930 | p03719 | C++ | #include<iostream>
#include<string>
using namespace std;
int main{
double a,b,c;
cin>>a>>b>>c;
if(a<=c && b>=c){
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
}
| a.cc:4:5: error: cannot declare '::main' to be a global variable
4 | int main{
| ^~~~
a.cc:5:9: error: expected primary-expression before 'double'
5 | double a,b,c;
| ^~~~~~
a.cc:5:9: error: expected '}' before 'double'
a.cc:4:9: note: to match this '{'
4 | int main{
| ... |
s304304367 | p03719 | C | #inlcude<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");
retrun 0;
} | main.c:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude<stdio.h>
| ^~~~~~~
| include
main.c: In function 'main':
main.c:6:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
6 | scanf("%d %d %d",&a,&b,&c);
| ^~~~~
main... |
s802379693 | p03719 | C++ | #include<iostream>
using namespace std;
int main(void){
int a, b, c;
cin >> a >> b >> c;
if(a<=c && c<=b) {
cont<<"Yes"<< endl;
} else {
cont<<"No"<< endl;
}
return 0;
} | a.cc: In function 'int main()':
a.cc:8:17: error: 'cont' was not declared in this scope; did you mean 'const'?
8 | cont<<"Yes"<< endl;
| ^~~~
| const
a.cc:10:17: error: 'cont' was not declared in this scope; did you mean 'const'?
10 | co... |
s911109884 | p03719 | C++ | #include<iostream>
using namespace std;
int main(void){
int a, b, c;
cin >> a >> b >> c;
if(a<<c && c<=b) {
cont << "Yes" << endl;
} else {
cont << "No" << endl;
}
return 0;
} | a.cc: In function 'int main()':
a.cc:8:17: error: 'cont' was not declared in this scope; did you mean 'const'?
8 | cont << "Yes" << endl;
| ^~~~
| const
a.cc:10:17: error: 'cont' was not declared in this scope; did you mean 'const'?
10 | ... |
s416972228 | p03719 | C++ | int main(void){
int a, b, c;
cin >> a >> b >> c;
if(a<<c && c<=b) {
cont << "Yes" << endl;
} else {
cont << "No" << 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: 'cont' was not declared in this scope; did you mean 'const'?
5 | cont << "Yes" << endl;
| ^~~~
| ... |
s143344080 | p03719 | C++ | 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){
if(c <= b){
System.out.println("Yes");
}
}else{
System.out.println("No");
... | a.cc:1:1: error: 'import' does not name a type
1 | import java.util.Scanner;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main{
| ^~~~~~
|
s436637441 | p03719 | C++ | 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){
if(c <= b){
System.out.println("Yes");
}
}else{
System.out.println("No");
... | a.cc:1:1: error: 'import' does not name a type
1 | import java.util.Scanner;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main{
| ^~~~~~
|
s927979578 | p03719 | C | #include<stdio.h>
int main void{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if((a<=c)&&(b>=c)){
printf("Yes");
}else{
printf("No");
}
return 0;
} | main.c:2:9: error: expected ';' before 'void'
2 | int main void{
| ^~~~~
| ;
main.c:2:14: error: expected identifier or '(' before '{' token
2 | int main void{
| ^
|
s483383407 | p03719 | C++ | /* @CopyRight: Script by vimer(micro.script@hotmail.com). All rights reserved.
* @Version: 1.0
* @Date:
* @Description: 2017-05-13 Contest 061 Between Two Integers
* @Environment: Code::Blocks 16.01, GCC 4.9.
*/
#include<iostream>
using namespace std;
int main(){
int a = 0, b = 0, c = 0;
ci... | a.cc: In function 'int main()':
a.cc:12:26: error: expected primary-expression before ';' token
12 | cin >> a >> b >> c >>;
| ^
|
s016034716 | 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;
return 0;
}
cout >> "No" >> endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:9:10: 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 {aka std::ba... |
s600454020 | p03719 | C++ | a,b,c=gets.split.map(&:to_i)
if a<=c && b>=c
puts "Yes"
else
puts "No"
end | a.cc:1:1: error: 'a' does not name a type
1 | a,b,c=gets.split.map(&:to_i)
| ^
|
s913096336 | p03719 | C++ |
#問題文
#3 つの整数 A,B,C が与えられます。
#整数 C が A 以上 かつ B 以下であるかを判定してください。
#制約
#−100≦A,B,C≦100
#A,B,C は全て整数
#入力
#入力は以下の形式で標準入力から与えられる。
#A B C
#出力
#条件を満たす場合はYes、そうでない場合はNoを出力せよ。
A=input()
B=input()
C=input()
if C>=A and C<=B:
print("yes")
else:
print("No")
| a.cc:2:2: error: invalid preprocessing directive #\U0000554f\U0000984c\U00006587
2 | #問題文
| ^~~~~~
a.cc:3:4: error: "\U00003064\U0000306e\U00006574\U00006570" is not a valid filename
3 | #3 つの整数 A,B,C が与えられます。
| ^~~~~~~~
a.cc:3:19: error: extended character 。 is not valid in an identifier
3 ... |
s372998253 | p03719 | C++ | import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in... | a.cc:1:1: error: 'import' does not name a type
1 | import java.io.OutputStream;
| ^~~~~~
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.IOException;
| ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmod... |
s241655169 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b;
int n[a];
for(int i=0;i<b;i++){
cin>>c>>d;
n[c-1]=n[c-1]+1;
n[d-1]=n[d-1]+1;
}
for(int i=0;i>a;m++){
cout<<n[i]<<endl;
}
return 0;
}
| a.cc: In function 'int main()':
a.cc:14:17: error: 'm' was not declared in this scope
14 | for(int i=0;i>a;m++){
| ^
|
s638366797 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b;
int n[a];
for(int i=0;i<b;i++){
cin>>c>>d;
n[c-1]+=;
n[d-1]+=;
}
for(int i=0;i>b;i++){
cout<<n[i]<<endl;
}
return 0;
} | a.cc: In function 'int main()':
a.cc:11:9: error: expected primary-expression before ';' token
11 | n[c-1]+=;
| ^
a.cc:12:9: error: expected primary-expression before ';' token
12 | n[d-1]+=;
| ^
|
s419514179 | p03719 | C++ | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
std::string IntToString(long long a){
char x[100];
sprintf(x,"%lld",a);
std::string s = x;
return s;
}
long long StringToInt(std::string a){
char x[100]; long long res;
strcpy(x,a.c_str());
s... | a.cc:49:1: error: expected unqualified-id before '%' token
49 | %
| ^
a.cc: In function 'int main()':
a.cc:56:21: error: 'a' was not declared in this scope
56 | scanf("%d %d %d",&a,&b,&c);
| ^
a.cc:56:24: error: 'b' was not declared in this scope
56 | scanf("%d %d %d",&a,&b,... |
s413930617 | p03719 | C++ |
#include<string.h>
#include <iostream>
using namespace std;
int main(){
int a,b,c;
cin >> a;
cin >> b;
cin >> c;
if(a<=c && b>=c){
cout << "YES" << endl;
}else{
cout << "NO" << endl;
}
return;
} | a.cc: In function 'int main()':
a.cc:20:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
20 | return;
| ^~~~~~
|
s683343167 | p03719 | C++ |
#include<string.h>
#include <iostream>
using namespace std;
int main(){
int a,b,c;
cin >> a;
cin >> b;
cin >> c;
if(a<=c && b>=c){
cout << "YES" << endl;
}else{
cout << "NO" << endl;
}
return;
} | a.cc: In function 'int main()':
a.cc:20:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
20 | return;
| ^~~~~~
|
s571498188 | p03719 | C++ | #include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a;
cin>>b;
cin>>c;
if(a<=c&&c<=b){
cout<<Yes<<endl;
}
else{
cout<<No<<endl;
}
return 0;
} | a.cc: In function 'int main()':
a.cc:10:7: error: 'Yes' was not declared in this scope
10 | cout<<Yes<<endl;
| ^~~
a.cc:13:7: error: 'No' was not declared in this scope
13 | cout<<No<<endl;
| ^~
|
s831962779 | 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:5:6: error: expected expression before '>' token
5 | if(C=>A&&C<=B){
| ^
|
s991734366 | p03719 | C++ | #include <iostream> using namespace std; int main() { int A,B,C; cin >> A >> B >> C; cout << (C < B && C > A ? "No" : "Yes"); return 0;} | a.cc:1:21: warning: extra tokens at end of #include directive
1 | #include <iostream> using namespace std; int main() { int A,B,C; cin >> A >> B >> C; cout << (C < B && C > A ? "No" : "Yes"); return 0;}
| ^~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu... |
s792013868 | p03719 | C++ | #include <iostream> using namespace std; int main() { int A,B,C; cin >> A >> B >> C; cout << (C < B && C > A ? "No" : "Yes") return 0;} | a.cc:1:21: warning: extra tokens at end of #include directive
1 | #include <iostream> using namespace std; int main() { int A,B,C; cin >> A >> B >> C; cout << (C < B && C > A ? "No" : "Yes") return 0;}
| ^~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/... |
s235164953 | p03719 | C++ | #include<iostream>
using namespace std;
int main(void)
{
int N, M;
int a[50], b[50], i;
int r[50];
cin >> N >> M;
for (i = 0; i <M; i++) {
cin >> a[i] >> b[i];
}
for (i = 0; i < N; i++) {
r[i] = 0;
}
for (i = 0; i < M; i++) {
r[a[i]] +=1
r[b[i]] +=1
}
for (i = 0; i < n; i++) {
cout << r[i] << end... | a.cc: In function 'int main()':
a.cc:18:28: error: expected ';' before 'r'
18 | r[a[i]] +=1
| ^
| ;
19 | r[b[i]] +=1
| ~
a.cc:21:25: error: 'n' was not declared in this scope
21 | ... |
s609120961 | p03719 | C++ | #include<stdio.h>
int main()
{
int a, b, c;
printf("A,B,C\n");
scanf_s("%d%d%d", &a, &b, &c);
if (a >= -100 && b >= -100 && c >= -100 && a <= 100 && b <= 100 && c <= 100) {
printf("Yes\n");
}
else {
printf("No\n");
}
return 0;
}
| a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
6 | scanf_s("%d%d%d", &a, &b, &c);
| ^~~~~~~
| scanf
|
s856540687 | p03719 | C++ | // AtCoder.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//
#include "stdafx.h"
int main()
{
int a, b, c;
printf("A,B,C\n");
scanf_s("%d%d%d", &a, &b, &c);
if (a >= -100 && b >= -100 && c >= -100 && a <= 100 && b <= 100 && c <= 100) {
printf("Yes\n");
}
else {
printf("No\n");
}
return 0;
}
| a.cc:4:10: fatal error: stdafx.h: No such file or directory
4 | #include "stdafx.h"
| ^~~~~~~~~~
compilation terminated.
|
s360037137 | p03719 | C++ | #include<iostream>
using namespace std;
void main() {
int a, b, c, i = 0;
cout << "A, B, C" << endl;
cin >> a >> b >> c;
if (a >= -100 && a <= 100) {
i++;
}
if (b >= -100 && b <= 100) {
i++;
}
if (c >= -100 && c <= 100) {
i++;
}
if (i == 3) {
if (c >= a && c <= b) {
cout << "Yes" << endl;
}
... | a.cc:5:1: error: '::main' must return 'int'
5 | void main() {
| ^~~~
a.cc: In function 'int main()':
a.cc:33:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
33 | return ;
| ^~~~~~
|
s358966692 | p03719 | C | include <stdio.h>
int main(){
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:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
1 | include <stdio.h>
| ^
|
s126377510 | p03719 | C++ | a, b, c = map(int, input().split())
print("Yes" if a <= c <= b else "No") | a.cc:1:1: error: 'a' does not name a type
1 | a, b, c = map(int, input().split())
| ^
|
s825739050 | 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 (A <= C){
if (C <= B){
System.out.println("Yes");
}
}else{
System.out.println("NO");
}
}
}
| Main.java:3: error: class main is public, should be declared in a file named main.java
public class main{
^
1 error
|
s630025885 | 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 (A <= C){
if (C <= B){
System.out.println("Yes");
}
}else{
System.out.println("NO");
}
}
}
| Main.java:3: error: class main is public, should be declared in a file named main.java
public class main{
^
1 error
|
s805306182 | p03719 | C | #include<stdio.h>
int Main()
{
int A,B,C,yes,No;
scanf(Yes,No);
{
if(B>=A)
}
printf("the number is %d",Yes);
{
else(B<=C)
}
printf("the number is %d",No);
return 0;
}
| main.c: In function 'Main':
main.c:5:11: error: 'Yes' undeclared (first use in this function); did you mean 'yes'?
5 | scanf(Yes,No);
| ^~~
| yes
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: expected expres... |
s298466199 | p03719 | C | #include<stdio.h>
int main()
{
int A,B,C,yes,No;
scanf(Yes,No);
{
if(B>=A)
}
printf("the number is %d",Yes);
{
else(B<=C)
}
printf("the number is %d",No);
return 0;
} | main.c: In function 'main':
main.c:5:11: error: 'Yes' undeclared (first use in this function); did you mean 'yes'?
5 | scanf(Yes,No);
| ^~~
| yes
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: expected expres... |
s484767202 | p03719 | C | #include<stdio.h>
int main()
{
int A,B,C,yes,No;
scanf(Yes,No);
{
if(B>=A)
}
printf("the number is %d",Yes);
{
else(B<=C)
}
printf("the number is %d",No);
return o;
} | main.c: In function 'main':
main.c:5:11: error: 'Yes' undeclared (first use in this function); did you mean 'yes'?
5 | scanf(Yes,No);
| ^~~
| yes
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: expected expres... |
s734018155 | p03719 | C | #include<stdio.h>
int main()
{
int A,B,C,yes,No;
scanf(Yes,No);
{
if(B>=A)
}
printf("the number is %d",Yes);
{
else(B<=C)
}
printf("the number is %d",No);
return o;
} | main.c: In function 'main':
main.c:5:11: error: 'Yes' undeclared (first use in this function); did you mean 'yes'?
5 | scanf(Yes,No);
| ^~~
| yes
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: expected expres... |
s671324231 | p03719 | C | #include<stdio.h>
int main()
{
int A,B,C,yes,No;
scanf(Yes,No);
{
if(B>=A)
}
printf("the number is %d",Yes);
{
else(B<=C)
}
printf("the number is %d",No);
return o;
} | main.c: In function 'main':
main.c:5:11: error: 'Yes' undeclared (first use in this function); did you mean 'yes'?
5 | scanf(Yes,No);
| ^~~
| yes
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:5: error: expected expres... |
s941192383 | p03719 | C++ | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<math.h>
#include<vector>
using namespace std;
signed main() {
int a, b, c;
cin >> a >> b >> c;
if (c >= a&&c <= b)puts("Yes");
else puts("No");
} | a.cc:7:1: error: extended character is not valid in an identifier
7 |
| ^
a.cc:7:1: error: '\U000000a0' does not name a type
7 |
| ^
|
s066921832 | p03719 | Java | import java.util.Scanner;
public class TwoInt {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a, b , c;
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
if(c >= a && c <= b) {
System.out.println("Yes");
}
else {
System.out.println("No");
}
}
}
| Main.java:4: error: class TwoInt is public, should be declared in a file named TwoInt.java
public class TwoInt {
^
1 error
|
s380660245 | p03719 | Java | import java.util.Scanner;
public class TwoInt {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a, b , c;
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
if(c >= a && c <= b) {
System.out.println("Yes");
}
else {
System.out.println("No");
}
}
}
| Main.java:4: error: class TwoInt is public, should be declared in a file named TwoInt.java
public class TwoInt {
^
1 error
|
s263730808 | p03719 | Java | import java.util.Scanner;
public class TwoInt {
static Scanner in = new Scanner(System.in);
static int a, b , c;
public static void main(String[] args) {
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
if(c >= a && c <= b) {
System.out.println("Yes");
}
else {
System.out.println("No");
}... | Main.java:4: error: class TwoInt is public, should be declared in a file named TwoInt.java
public class TwoInt {
^
1 error
|
s856871774 | p03719 | C++ | #include <stdio.h>
#include <bits/stdc++.h>
#define endl "\n"
#define si(a) scanf("%d ",&a);
#define si2(a,b) scanf("%d %d ",&a,&b);
#define si3(a,b,c) scanf("%d%d%d",&a,&b,&c)
#define sll(a) scanf("%lld ",&a);
#define sll2(a,b) scanf("%lld%lld",&a,&b)
#define sll3(a,b,c) scanf("%lld%lld%lld",&a,&b,&c)
#define sf(a) sc... | a.cc: In function 'void init()':
a.cc:39:25: error: 'System' was not declared in this scope; did you mean 'system'?
39 | System.out.println("Yes");
| ^~~~~~
| system
a.cc:42:25: error: 'System' was not declared in this scope; did you... |
s189173467 | p03719 | Java | import java.util.Scanner;
public class TwoInt {
static Scanner in = new Scanner(System.in);
static int a, b , c;
public static void main(String[] args) {
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
if(a <= c || b >= a) {
System.out.println("Yes");
}
else {
System.out.println("No");
}... | Main.java:4: error: class TwoInt is public, should be declared in a file named TwoInt.java
public class TwoInt {
^
1 error
|
s401459632 | p03719 | Java | import java.util.Scanner;
public class TwoInt {
static Scanner in = new Scanner(System.in);
static int a, b , c;
public static void main(String[] args) {
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
if(a <= c || b >= a) {
System.out.println("Yes");
}
else {
System.out.println("No");
}... | Main.java:4: error: class TwoInt is public, should be declared in a file named TwoInt.java
public class TwoInt {
^
1 error
|
s154719472 | p03719 | Java | //package com.zhangyong.algorithm;
import java.io.*;
import java.util.StringTokenizer;
public class Solution {
FastScanner in;
PrintWriter out;
class FastScanner {
BufferedReader br;
StringTokenizer st;
private FastScanner(File f) {
try {
br = new Bu... | Main.java:6: error: class Solution is public, should be declared in a file named Solution.java
public class Solution {
^
1 error
|
s242851670 | p03719 | C++ | a,b,c=map(int,input().split())
print("Yes"if a<=c<=b else"No") | a.cc:1:1: error: 'a' does not name a type
1 | a,b,c=map(int,input().split())
| ^
|
s470626564 | p03719 | Java | import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
import java.util.Scanner;
public class Main01 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] ary = new int[3];
for (int i =0; i <ary.length; i++){
ary[i] = scan.nextInt()... | Main.java:6: error: class Main01 is public, should be declared in a file named Main01.java
public class Main01 {
^
1 error
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.