submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s218261249
p03826
C++
#include <cstdlib> int main(){ int a,b,c,d; scanf("%d %d %d %d",&a,&b,&c,&d); if(a*b > c*d) cout << a*b; else cout << c*d; }
a.cc: In function 'int main()': a.cc:4:3: error: 'scanf' was not declared in this scope 4 | scanf("%d %d %d %d",&a,&b,&c,&d); | ^~~~~ a.cc:5:17: error: 'cout' was not declared in this scope 5 | if(a*b > c*d) cout << a*b; | ^~~~ a.cc:6:8: error: 'cout' was not declared in this s...
s213161873
p03826
C++
#include<iostream> #include<string> #include<vector> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<map> using namespace std; #define ll long long int main(){ int a,b,c,d; cout >>a >> b >> c >> d; int ans=max(a*b,c*d); cout << ans; return 0; }
a.cc: In function 'int main()': a.cc:13:10: error: no match for 'operator>>' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int') 13 | cout >>a >> b >> c >> d; | ~~~~ ^~~ | | | | | int | std::ostream {aka std::basic_ostream<char>} a.cc:13...
s463112580
p03826
C++
#include <iostream> using namespcae std; int main(void){ int a,b,c,d; cin >> a>> b >>c >> d; if(a*b > c*d){ cout << a*b << endl; }else{ cout << c*d << endl; } }
a.cc:3:7: error: expected nested-name-specifier before 'namespcae' 3 | using namespcae 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 >> d; | ^~~ | std::cin In file included from ...
s877282012
p03826
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(); int d = sc.nextInt(); int[] a = new int[n]; System.out.println(Math.max(a ...
Main.java:11: error: variable a is already defined in method main(String[]) int[] a = new int[n]; ^ Main.java:11: error: cannot find symbol int[] a = new int[n]; ^ symbol: variable n location: class Main Main.java:12: error: bad operand types for binary oper...
s277015980
p03826
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();  int d = sc.nextInt(); int max = Math.max(a*b,c*d); System.out.print(max); ...
Main.java:7: error: illegal character: '\u3000' ?int b = sc.nextInt(); ^ Main.java:8: error: illegal character: '\u3000' ?int c = sc.nextInt(); ^ Main.java:9: error: illegal character: '\u3000' ?int d = sc.nextInt(); ^ 3 errors
s939989711
p03826
Java
import java.util.* fun main(args: Array<String>) { val sc = Scanner(System.`in`) val a: Int = sc.nextInt() val b: Int = sc.nextInt() val c: Int = sc.nextInt() val d: Int = sc.nextInt() if (a * b >= c * d) { print(a * b) } else if (a * b < c * d) { print(c * d) } }
Main.java:1: error: ';' expected import java.util.* ^ Main.java:4: error: illegal character: '`' val sc = Scanner(System.`in`) ^ Main.java:4: error: illegal character: '`' val sc = Scanner(System.`in`) ^ 3 errors
s412671591
p03826
C++
x = [int(i) for i in input().split()] print(max((x[0]*x[1], x[2]*x[3])))
a.cc:1:1: error: 'x' does not name a type 1 | x = [int(i) for i in input().split()] | ^
s951657760
p03826
C++
#include<iostream> using nnamespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a*b>c*d) cout<<a*b<<endl; else cout<<c*d<<endl; return 0; }
a.cc:2:7: error: expected nested-name-specifier before 'nnamespace' 2 | using nnamespace std; | ^~~~~~~~~~ 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>>a>>b>>c>>d; | ^~~ | std::cin In file included from a.c...
s368275335
p03826
C++
#include<iostream> int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a*b>c*d) cout<<a*b<<endl; else cout<<c*d<<endl; return 0; }
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>>d; | ^~~ | 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...
s130699538
p03826
C++
#include <iostream> using namespace std; int A,B,C,D; int main(){ cin >> A >> B >> C >> D; if(A*B=C*D) cout << A*B << endl; else cout << (A*B>C*D? A*B:C*D) << endl; }
a.cc: In function 'int main()': a.cc:6:7: error: lvalue required as left operand of assignment 6 | if(A*B=C*D) cout << A*B << endl; | ~^~
s468780814
p03826
C++
a = map(int, raw_input().split()) print max(a[0] * a[1], a[2] * a[3])
a.cc:1:1: error: 'a' does not name a type 1 | a = map(int, raw_input().split()) | ^
s568627354
p03826
C++
using namespace std; int main() { int A, B, C, D; cin >> A >> B >> C >> D; int res1 = A*B; int res2 = C*D; if (res1 == res2) cout << res1; if (res1 > res2) cout << res1; if (res1 < res2) cout << res2; return 0; }
a.cc: In function 'int main()': a.cc:5:3: error: 'cin' was not declared in this scope 5 | cin >> A >> B >> C >> D; | ^~~ a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' +++ |+#include <iostream> 1 | using namespace std; a.cc:10:2...
s215676175
p03826
C++
#include <iostream> using namespace std; int main() { int A, B, C, D; cin A >> B >> C >> D; int res1 = A*B; int res2 = C*D; if (res1 == res2) cout << res1; if (res1 > res2) cout << res1; if (res1 < res2) cout << res2; return 0; }
a.cc: In function 'int main()': a.cc:6:6: error: expected ';' before 'A' 6 | cin A >> B >> C >> D; | ^~ | ;
s084108206
p03826
Java
public static void main(String[] args) { int a=0,b=0,c=0,d=0; Scanner sc = new Scanner(System.in); try { a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); d = sc.nextInt(); sc.close(); }catch(Exception e) { System.out.println("入力が正しくありません"); System.exit(1); } if(!checkNum(a) ||...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
s954342614
p03826
C
#include<stdio.h> int main(){ int A, B, C, D; scanf("%d %d %d %d", &A, &B, &C, &D); if(A*B >= C*D){ printf("%d\n", A*B); } else { printf("%d\n", C*D) } return 0; }
main.c: In function 'main': main.c:11:24: error: expected ';' before '}' token 11 | printf("%d\n", C*D) | ^ | ; 12 | } | ~
s712204348
p03826
C++
A,B,C,D = map(int,input().split()) if A*B >= C*D: print(A*B) else: print(C*D)
a.cc:1:1: error: 'A' does not name a type 1 | A,B,C,D = map(int,input().split()) | ^
s833914050
p03826
C++
#include<stdio.h> #include<stdlib.h> int main() { int a,b,c,d,x,y; x = a*b; y = c*d; scanf("%d%d%d%d",&a,&b,&c,&d); if(a*b >= c*d) pfintf("%d\n", x = a*b); else if(a*b <= c*d) printf("%d\n", y = c*d); return 0; }
a.cc: In function 'int main()': a.cc:10:1: error: 'pfintf' was not declared in this scope; did you mean 'printf'? 10 | pfintf("%d\n", x = a*b); | ^~~~~~ | printf
s401574569
p03826
C++
#include <cstdio> #includ <iostream> using namespace std; int main() { int a,b,c,d,ans; cin >> a >> b >> c >> d; cout << max(a*b,c*d) << endl; }
a.cc:2:2: error: invalid preprocessing directive #includ; did you mean #include? 2 | #includ <iostream> | ^~~~~~ | include a.cc: In function 'int main()': a.cc:9:1: error: 'cin' was not declared in this scope 9 | cin >> a >> b >> c >> d; | ^~~ a.cc:2:1: note: 'std::cin' is defined in header...
s744793454
p03826
C
#include <stdio.h> #include <algorithm> #include<math.h> #include<cstdlib> #include<cstring> using namespace std; int main() { int A,B,C,D; scanf("%d%d%d%d",&A,&B,&C,&D); int c; c = max(A*B,C*D); if(A*B==C*D) { printf("%d",A*B); } else { printf("%d",c); } return 0; }
main.c:2:10: fatal error: algorithm: No such file or directory 2 | #include <algorithm> | ^~~~~~~~~~~ compilation terminated.
s198142017
p03826
C
#include <stdio.h> int main(void) { int a, b, c, d; int area1, area2; scanf_s("%d", &a); scanf_s("%d", &b); scanf_s("%d", &c); scanf_s("%d", &d); area1 = a * b; area2 = c * d; if (area1 >= area2) { printf("%d", area1); } else { printf("%d", area2); } return 0; }
main.c: In function 'main': main.c:9:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration] 9 | scanf_s("%d", &a); | ^~~~~~~ | scanf
s044348454
p03826
C++
#include "stdafx.h" #include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; if (a*b > c*d) { cout << a * b; } else { cout << c * d; } return 0; }
a.cc:1:10: fatal error: stdafx.h: No such file or directory 1 | #include "stdafx.h" | ^~~~~~~~~~ compilation terminated.
s854736058
p03826
C++
hoge #include <bits/stdc++.h> // g++ -std=c++14 -o a a.cpp using namespace std; typedef pair<int, int> P; typedef long long ll; #define rep(i, n) for(int i = 0; i < (n); i++) #define repto(i, n) for(int i = 0; i <= (n); i++) #define all(c) (c).begin(), (c).end() #define uniq(c) c.erase(unique(all(c)), (c).end()) // ...
a.cc:1:1: error: 'hoge' does not name a type 1 | hoge | ^~~~ 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.cc:2: /usr/include/c++/14/...
s586647896
p03826
C++
a, b, c, d = map(int, input().split()) print(max(a*b, c*d))
a.cc:1:1: error: 'a' does not name a type 1 | a, b, c, d = map(int, input().split()) | ^
s631326283
p03826
C++
#include<bits/stdc++.h> using namespace std; int main(){ int A, B, C, D, ans; cin>>A>>B>>C>>D ans =max(A*B,C*D); cout<<ans<<endl; return 0; }
a.cc: In function 'int main()': a.cc:6:18: error: expected ';' before 'ans' 6 | cin>>A>>B>>C>>D | ^ | ; 7 | 8 | ans =max(A*B,C*D); | ~~~
s293869831
p03826
C++
#include <iostream> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a*b<=c*D){cout<<c*d<<endl;} else{cout<<a*b<<endl;} return 0; }
a.cc: In function 'int main()': a.cc:6:13: error: 'D' was not declared in this scope 6 | if(a*b<=c*D){cout<<c*d<<endl;} | ^
s884110190
p03826
C++
#include <iostream> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; if(a*b<=c*D){cout<<c*d<<endl;} else{cout<<a*b<<endl; return 0; }
a.cc: In function 'int main()': a.cc:6:13: error: 'D' was not declared in this scope 6 | if(a*b<=c*D){cout<<c*d<<endl;} | ^ a.cc:9:2: error: expected '}' at end of input 9 | } | ^ a.cc:3:11: note: to match this '{' 3 | int main(){ | ^
s265532615
p03826
C++
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin << a; cin << b; cin << c; cin << d; if(a*b>=c*d) cout >> a*b >> endl; else cout >> c*d >> endl; }
a.cc: In function 'int main()': a.cc:6:7: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'int') 6 | cin << a; | ~~~ ^~ ~ | | | | | int | std::istream {aka std::basic_istream<char>} a.cc:6:7: note: candidate: 'operat...
s357394908
p03826
C++
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin<<a; cin<<b; cin<<c; Cin<<d; if(a*b>=c*d) cout>> a*b >> endl; else cout >> c*d >> endl; }
a.cc: In function 'int main()': a.cc:6:6: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'int') 6 | cin<<a; | ~~~^~~ | | | | | int | std::istream {aka std::basic_istream<char>} a.cc:6:6: note: candidate: 'operator<<(int...
s137844422
p03826
C++
#include<cstdio> int main(){ static const int n; static const int a[1001]={0,1,2,4,8,16,30,60,96,160,270,540,792,1584,2592,4032,5376,10752,14688,29376,41040,60800,96000,192000,242880,340032,532224,677376,917280,1834560,2332800,4665600,5529600,7864320,12165120,16422912,19595520,39191040,60466176,85100544,102435840,20...
a.cc: In function 'int main()': a.cc:4:26: error: uninitialized 'const n' [-fpermissive] 4 | static const int n; | ^
s477069328
p03826
C++
#include <bits/stdc++.h> using namespace std; int main(){ int A,B,C,D; cin>>A>>B>>C>>D; cout<<max(A*B,C*D) }
a.cc: In function 'int main()': a.cc:7:21: error: expected ';' before '}' token 7 | cout<<max(A*B,C*D) | ^ | ; 8 | } | ~
s831237738
p03826
C++
#include <stdio.h> #include <iostream> int main() { int a, b, c, d; scanf_s("%d %d %d %d", &a, &b, &c, &d); if (a*b > c*d) printf("%d\n", a*b); else printf("%d\n", c*d); 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 %d", &a, &b, &c, &d); | ^~~~~~~ | scanf
s709585165
p03826
C
// ConsoleApplication12.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" int main() { int A, B, C, D,E,F; scanf_s("%d", &A); scanf_s("%d", &B); scanf_s("%d", &C); scanf_s("%d", &D); E = A*B; F = C*D; if (E >= F){ printf("%d\n", E); } else { printf("%d\n", F); } return 0; }
main.c:4:10: fatal error: stdafx.h: No such file or directory 4 | #include "stdafx.h" | ^~~~~~~~~~ compilation terminated.
s630778733
p03826
C
// ConsoleApplication12.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" int main() { int A, B, C, D,E,F; scanf_s("%d", &A); scanf_s("%d", &B); scanf_s("%d", &C); scanf_s("%d", &D); E = A*B; F = C*D; if (E >= F){ printf("%d\n", E); } else { printf("%d\n", F); } return 0; }
main.c:4:10: fatal error: stdafx.h: No such file or directory 4 | #include "stdafx.h" | ^~~~~~~~~~ compilation terminated.
s175612812
p03826
C
// ConsoleApplication12.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" int main() { int A, B, C, D,E,F; scanf_s("%d", &A); scanf_s("%d", &B); scanf_s("%d", &C); scanf_s("%d", &D); E = A*B; F = C*D; if (E >= F){ printf("%d\n", E); } else { printf("%d\n", F); } return 0; }
main.c:4:10: fatal error: stdafx.h: No such file or directory 4 | #include "stdafx.h" | ^~~~~~~~~~ compilation terminated.
s576504481
p03826
C++
#include <sstream> #include <iostream> #include <sstring> using namespace std; int main(){ int a, b ,c , d; cin >> a >> b >> c >> d; if (a* b >= c*d ){ cout << a*b << endl;} else{ cout << c* d << endl; } return 0; }
a.cc:3:10: fatal error: sstring: No such file or directory 3 | #include <sstring> | ^~~~~~~~~ compilation terminated.
s632021684
p03826
C++
puts("hi")
a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token 1 | puts("hi") | ^
s888478054
p03826
C++
#include<iostream> int main(){ int A, B, C, D std::cin >> A >> B >> C >> D; if (A*B >= C*D) { std::cout << A*B << std::endl; } else { std::cout << C*D << std::endl; } return 0; }
a.cc: In function 'int main()': a.cc:4:17: error: expected initializer before 'std' 4 | std::cin >> A >> B >> C >> D; | ^~~ a.cc:5:22: error: 'D' was not declared in this scope 5 | if (A*B >= C*D) { | ^
s605967508
p03826
C++
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin >> a>>b>>c>>d; cout<<max(a*b,c*d) }
a.cc: In function 'int main()': a.cc:8:21: error: expected ';' before '}' token 8 | cout<<max(a*b,c*d) | ^ | ; 9 | 10 | } | ~
s013181469
p03826
C++
#include <bits/stdc++.h> #include <typeinfo> #include <cxxabi.h> #ifdef LOCAL #include "dbgtoki.hpp" #define DUMP(i) dump((string)TOSTRING(i), demangle(typeid(i).name()), __LINE__ , i) DbgTimer D_t; #define TSTART() D_t.start() #define TSTOP() D_t.stop() #else #define DUMP(i) #define TSTART() #define TS...
a.cc: In function 'int main()': a.cc:36:3: error: 'whil' was not declared in this scope 36 | whil(cin >> a >> b >> c >> d ){ | ^~~~
s870270944
p03826
C++
#include <bits/stdc++.h> //--------------------------- using namespace std; //--------------------------- #define REP(i,n) for(int i = 0; i < (n); i++) #define P(x) cout << (x) << "\n" #define MOD 1000000007 // 1e9+7 #define PI 3.1415926525 #define ll long long int // 10^18 #define INF 1000000001 // 1e9+1 int dx[4]={...
a.cc: In function 'int main()': a.cc:28:11: error: expected ';' before ':' token 28 | P(a*b): | ^
s638536718
p03826
C++
#define_CRT_SECURE_NO_WARNINGS #include<stdio.h> int main(){ int A,B,C,D; scanf("%d%d%d%d",&A,&B,&C,&D); if(A*B>=C*D){ printf("%d",A*B); } else{ printf("%d",C*D); } }
a.cc:1:2: error: invalid preprocessing directive #define_CRT_SECURE_NO_WARNINGS 1 | #define_CRT_SECURE_NO_WARNINGS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
s173488706
p03826
C++
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(void){ int a, b, c, d; cin >> a >> b >> c >> d; cout << (a*b > c*d) ? a*b : c*d << endl; return 0; }
a.cc: In function 'int main()': a.cc:11:41: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<' 11 | cout << (a*b > c*d) ? a*b : c*d << endl; | ~~~~^~~~~~~
s968010220
p03826
C++
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(void){ int a, b, c, d; cin >> a >> b >> c >> d; cout << {a*b>c*d} ? a*b : c*d << endl; return 0; }
a.cc: In function 'int main()': a.cc:11:17: error: expected primary-expression before '{' token 11 | cout << {a*b>c*d} ? a*b : c*d << endl; | ^ a.cc:11:27: error: expected primary-expression before '?' token 11 | cout << {a*b>c*d} ? a*b : c*d << endl; | ...
s752746442
p03826
C++
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(void){ int a, b, c, d; cin >> a >> b >> c >> d; cout << a*b>c*d ? a*b : c*d << endl; return 0; }
a.cc: In function 'int main()': a.cc:11:20: error: no match for 'operator>' (operand types are 'std::basic_ostream<char>' and 'int') 11 | cout << a*b>c*d ? a*b : c*d << endl; | ~~~~~~~~~~~^~~~ | | | | | int | std::basic_ostrea...
s080660361
p03826
C++
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(void){ int a, b, c, d; cin >> a >> b >> c >> d; cout << (a*b>c*d)? a*b : c*d << endl; return 0; }
a.cc: In function 'int main()': a.cc:11:38: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<' 11 | cout << (a*b>c*d)? a*b : c*d << endl; | ~~~~^~~~~~~
s612259010
p03826
C++
#include<cstdio> using namespace std; int max(int a,int b){return a>b?a:b;} int main(){ scanf("%d%d%d%d",&a,&b,&c,&d); printf("%d\n",max(a*b,c*d)); return 0; }
a.cc: In function 'int main()': a.cc:5:27: error: 'a' was not declared in this scope 5 | scanf("%d%d%d%d",&a,&b,&c,&d); | ^ a.cc:5:30: error: 'b' was not declared in this scope 5 | scanf("%d%d%d%d",&a,&b,&c,&d); | ^ a.cc:5:33: er...
s257988218
p03826
C++
int main() { int A, B, C, D; std::cin >> A >> B >> C >> D; std::cout << std::min(A * B, C * D) << std::endl; }
a.cc: In function 'int main()': a.cc:3:10: error: 'cin' is not a member of 'std' 3 | std::cin >> A >> B >> C >> D; | ^~~ a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' +++ |+#include <iostream> 1 | int main() { a.cc:5:1...
s742829753
p03826
C++
deewwrfwe
a.cc:1:1: error: 'deewwrfwe' does not name a type 1 | deewwrfwe | ^~~~~~~~~
s588637727
p03826
C++
qqq
a.cc:1:1: error: 'qqq' does not name a type 1 | qqq | ^~~
s291421210
p03826
C++
#include<iostream> #define max(x,y) (x>y)?x:y int main() { int a,b,c,d; std::cin>>a>>b>>c>>d; std::cout<<max(a*b,c*d)<<std::endl; }
a.cc: In function 'int main()': a.cc:7:28: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<' 7 | std::cout<<max(a*b,c*d)<<std::endl; | ^
s708798924
p03826
C++
#include<iostream> int main() { int a,b,c,d; std::cin>>a>>b>>c>>d; std::cout<<max(a*b,c*d)<<std::endl; }
a.cc: In function 'int main()': a.cc:7:16: error: 'max' was not declared in this scope; did you mean 'std::max'? 7 | std::cout<<max(a*b,c*d)<<std::endl; | ^~~ | std::max In file included from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/...
s698231422
p03826
C++
#include <cmath> #include <cstdio> int a,b,c,d; int main() { scanf("%d%d%d%d",&a,&b,&c,&d); printf("%d\n",max(a*b,c*d)); return 0; }
a.cc: In function 'int main()': a.cc:7:23: error: 'max' was not declared in this scope; did you mean 'std::max'? 7 | printf("%d\n",max(a*b,c*d)); | ^~~ | std::max In file included from /usr/include/c++/14/bits/specfun.h:43, from /usr/i...
s676831312
p03826
C++
#include <cstdio> int a,b,c,d; int main() { scanf("%d%d%d%d",&a,&b,&c,&d); printf("%d\n",max(a*b,c*d)); return 0; }
a.cc: In function 'int main()': a.cc:6:23: error: 'max' was not declared in this scope 6 | printf("%d\n",max(a*b,c*d)); | ^~~
s820740182
p03826
C++
#include<stdio.h> int main() { int A,B,C,D; int S1,S2; scanf("%d%d%d%d",&A,&B,&C,&D); S1=A*B; S2=C*D; if(S1>=S2){ printf("%d\n",S1); } else{ printf("%d\n",S2); } return ; }
a.cc: In function 'int main()': a.cc:21:3: error: return-statement with no value, in function returning 'int' [-fpermissive] 21 | return ; | ^~~~~~
s068999621
p03826
C++
#include<iostream> using namespace std; int main() { int A, B, C, D; if(A * B > C * D)cout << A * B << endl;; else cout << C * D<< endl; return 0; }
a.cc: In function 'int main()': a.cc:9:9: error: 'else' without a previous 'if' 9 | else cout << C * D<< endl; | ^~~~
s700417507
p03826
C++
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,ans; cin>>a>>b>>c>>d; if(a*b>c*d){ ans=a*b } else if(a*b==c*d){ ans=a*b; } else{ ans=c*d; } cout<<ans<<endl; }
a.cc: In function 'int main()': a.cc:8:12: error: expected ';' before '}' token 8 | ans=a*b | ^ | ; 9 | } | ~
s859288158
p03826
C++
use std::env; use std::io::*; use std::str::*; fn read<T: FromStr>() -> T { let stdin = stdin(); let s = stdin.bytes().map(|c| c.unwrap() as char) .skip_while(|c| c.is_whitespace()) .take_while(|c| !c.is_whitespace()) .collect::<String>(); s.parse::<T>().ok().unwrap() } fn main() {...
a.cc:1:1: error: 'use' does not name a type 1 | use std::env; | ^~~ a.cc:2:1: error: 'use' does not name a type 2 | use std::io::*; | ^~~ a.cc:3:1: error: 'use' does not name a type 3 | use std::str::*; | ^~~ a.cc:5:1: error: 'fn' does not name a type 5 | fn read<T: FromStr>() -> T { ...
s982598396
p03826
C++
#include<iostream> using namespace std; int a,b,c,d; int main() { cin >> a >> b >> c >> d; if(a*b>c*d)printf("%d"a*b); else printf("%d"c*d); }
a.cc: In function 'int main()': a.cc:7:21: error: unable to find string literal operator 'operator""a' with 'const char [3]', 'long unsigned int' arguments 7 | if(a*b>c*d)printf("%d"a*b); | ^~~~~ a.cc:8:15: error: unable to find string literal operator 'operator""c' with 'const char [3]'...
s058906909
p03826
C++
// ConsoleApplication13.cpp : アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" #include<iostream> #include<vector> #include<cstdio> #include<cmath> using namespace std; int main() { long long int i, j, k, l, m,flag,N; long long int sum; m = 0; sum = 1; flag = 0; cin >> N; long long int prime[300] = {}; long l...
a.cc:4:10: fatal error: stdafx.h: No such file or directory 4 | #include "stdafx.h" | ^~~~~~~~~~ compilation terminated.
s254887218
p03826
C++
#include <iostream> using namespace std; int main(){ int a,b,c,d; cin >> a >> b >> c >> d; cout << (a*b>c*d)?a*b:c*d << endl; return 0; }
a.cc: In function 'int main()': a.cc:7:29: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<' 7 | cout << (a*b>c*d)?a*b:c*d << endl; | ~~~~^~~~~~~
s365974010
p03826
C++
#include <bits/stdc++.h> using namespace std; int main(){ int A, B, C, D; cin >> A >> B >> C >> D; if (A*B>C*D) cout << A*B; else cout C*D; }
a.cc: In function 'int main()': a.cc:8:18: error: expected ';' before 'C' 8 | else cout C*D; | ^~ | ;
s301648395
p03826
C++
#include<iostream> #include<string> int main() { int a, b,c,d;     std::cin >> a >> b >> c >> d; if (a*b - c*d >= 0) { std::cout << a*b << std::endl; } else { std::cout << c*d << std::endl; } }
a.cc:5:1: error: extended character   is not valid in an identifier 5 |   | ^ a.cc:6:1: error: extended character   is not valid in an identifier 6 |   | ^ a.cc: In function 'int main()': a.cc:5:1: error: '\U000000a0' was not declared in this scope 5 |   | ^
s824092658
p03826
C++
a;b;c;d;main(){ scanf("%d%d%d%d",&a,&b,&c,&d); printf("%d\n",a*b>c*d?a*b:c*d); }
a.cc:1:1: error: 'a' does not name a type 1 | a;b;c;d;main(){ | ^ a.cc:1:3: error: 'b' does not name a type 1 | a;b;c;d;main(){ | ^ a.cc:1:5: error: 'c' does not name a type 1 | a;b;c;d;main(){ | ^ a.cc:1:7: error: 'd' does not name a type 1 | a;b;c;d;main(){ | ^ a.cc...
s931515708
p03826
C
#include<cstdio> #include<cmath> #include<algorithm> using namespace std; int main() { long A,B,C,D,E,F; while(scanf("%ld%ld%ld%ld",&A,&B,&C,&D)!=EOF) { E=A*B; F=C*D; if(E>=F) printf("%ld\n",E); else printf("%ld\n",F); } return 0; }
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s937268699
p03826
C++
#include <iostream> using namespace std; int main(){ int A,B,C,D; cin >> A >> B >> C >> D; if(A*B > C*D) cout << A*B; else cout << C*D }
a.cc: In function 'int main()': a.cc:8:25: error: expected ';' before '}' token 8 | else cout << C*D | ^ | ; 9 | } | ~
s745101977
p03826
C++
#include <iostream> #include <cstdlib> #include <time> using namespace std; int main() { srand(time(&NULL)); cout << rand(); return 0; }
a.cc:3:10: fatal error: time: No such file or directory 3 | #include <time> | ^~~~~~ compilation terminated.
s630637808
p03826
C++
int main(){int a,b,c,d;scanf("%d%d%d%d",&a,&b,&c,&d);printf("%d\n",a*b>c*d?a*b:c*d);}
a.cc: In function 'int main()': a.cc:1:24: error: 'scanf' was not declared in this scope 1 | int main(){int a,b,c,d;scanf("%d%d%d%d",&a,&b,&c,&d);printf("%d\n",a*b>c*d?a*b:c*d);} | ^~~~~ a.cc:1:54: error: 'printf' was not declared in this scope 1 | int main(){int a,b,c,d;scanf("%d%d...
s268061967
p03826
C++
int main(){int a,b,c,d;cin>>a>>b>>c>>d;printf("%d\n",a*b>c*d?a*b:c*d);}
a.cc: In function 'int main()': a.cc:1:24: error: 'cin' was not declared in this scope 1 | int main(){int a,b,c,d;cin>>a>>b>>c>>d;printf("%d\n",a*b>c*d?a*b:c*d);} | ^~~ a.cc:1:40: error: 'printf' was not declared in this scope 1 | int main(){int a,b,c,d;cin>>a>>b>>c>>d;printf("%d\n"...
s145219281
p03826
C++
#include<iostream> int main() { int v_1, s_1, v_2, s_2,result; //縦 Vertical,横 side より(google翻訳) あと余計な変数増やしたくないですがresultは条件演算子の真、偽の両方でstd::coutを書くのがめんどくさかったから std::cin >> v_1 >> s_1 >> v_2 >> s_2; v_1*s_1 >= v_2 * s_2 ? result = v_1 * s_1 : result = v_2 * s_2; std::cout << result << std::endl; return 0;
a.cc: In function 'int main()': a.cc:11:18: error: expected '}' at end of input 11 | return 0; | ^ a.cc:3:12: note: to match this '{' 3 | int main() { | ^
s807676364
p03826
C++
// g++ macro.cpp -std=c++14 #include <bits/stdc++.h> //STL include typedef long long ll;// long long int const int INF = 1e9; const int MOD = 1e9+7; const ll LINF = 1e18; using namespace std;//namespace #define dump(x) cout << #x << " = " << (x) << endl;// debug cout #define YES(n) cout << ((n) ? "YES" : "NO" ) << e...
a.cc:37:2: error: unterminated argument list invoking macro "COUT" 37 | } | ^ a.cc: In function 'int main()': a.cc:35:5: error: 'COUT' was not declared in this scope 35 | COUT(max(a*b,c*d); | ^~~~ a.cc:35:9: error: expected '}' at end of input 35 | COUT(max(a*b,c*d); | ^ ...
s185832790
p03826
C++
#include<stdio.h> int main(){ scanf("%d %d %d %d"); if(a*b>=c*d){ printf("%d\n",a*b); }else{ printf("%d\n",c*d); } }
a.cc: In function 'int main()': a.cc:5:8: error: 'a' was not declared in this scope 5 | if(a*b>=c*d){ | ^ a.cc:5:10: error: 'b' was not declared in this scope 5 | if(a*b>=c*d){ | ^ a.cc:5:13: error: 'c' was not declared in this scope 5 | if(a*b>=c*d){ | ...
s947541147
p03826
C++
#include<bits/stdc++.h> using namespace std; typedef long long LL; int main(){ ll a,b,c,d; cin >> a >> b >> c >> d; cout << max(a*b,c*d) << endl; }
a.cc: In function 'int main()': a.cc:6:5: error: 'll' was not declared in this scope; did you mean 'LL'? 6 | ll a,b,c,d; | ^~ | LL a.cc:7:12: error: 'a' was not declared in this scope 7 | cin >> a >> b >> c >> d; | ^ a.cc:7:17: error: 'b' was not declared in this sco...
s243746661
p03826
C++
#include <cstdio> #include <math> using namespace std; int main(){ int A,B,C,D; scanf("%d %d %d %d",&A,&B,&C,&D); printf("%d\n",max(A*B,C*D)); return 0; }
a.cc:2:10: fatal error: math: No such file or directory 2 | #include <math> | ^~~~~~ compilation terminated.
s209145501
p03826
C++
#include<iostream> using namespace std; int main(){ int a,b,c,d,sqr1,sqr2; cin >> a >> b>> c > d; sqr1 = a*b; sqr2 = c*d; if(sqr1 > sqr2){ cout << sqr1 << endl; } else{ cout << sqr2 << endl; } return 0; }
a.cc: In function 'int main()': a.cc:5:19: error: no match for 'operator>' (operand types are 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} and 'int') 5 | cin >> a >> b>> c > d; | ~~~~~~~~~~~~~~~~~ ^ ~ | | | | | int | ...
s179923678
p03826
C++
#include <iostream> #include <stdio.h> using namespace std; int main() { int A; int B; int C; int D; scanf("%d%d%d%d",&A,&B,&C,&D); int area1=A*B; int area2=C*D; if (area1>area2) printf("%d",area1); else printf("%d",area2); return 1 }
a.cc: In function 'int main()': a.cc:21:9: error: expected ';' before '}' token 21 | return 1 | ^ | ; ...... 24 | } | ~
s216428947
p03826
C++
#include <iostream> #include <stdio.h> using namespace std; int main() { int A,B,C,D; scanf("%d%d%d%d",A,B,C,D); int area1=A*B; int area2=C*D; if (area1>area2) printf("%d",area1); else printf("%d",area2); return 0 }
a.cc: In function 'int main()': a.cc:17:9: error: expected ';' before '}' token 17 | return 0 | ^ | ; 18 | } | ~
s628539153
p03826
C++
#include<stdio.h> #include<iostream> using namespace std; int main() { int A,B,C,D; cout<<"enter length and breadth of first rectangle and second rectangle\n"; scanf("%d%d%d%d",&A,&B,&C,&D); int a=A*B; int b=C*D; if(A>=1&&A<=10000&&B>=1&&B<=10000&&C>=1&&C<=10000&&D>=1&&D<=10000) { if(a>b) { printf("%d",a); } if(b>a...
a.cc: In function 'int main()': a.cc:30:9: error: expected ';' before '}' token 30 | return 0 | ^ | ; 31 | } | ~
s605221751
p03826
C++
#include<iostream> #include<stdio.h> #include<stdlib.h> using namespace std; int main() {float A,B,C,D,A1,A2; cin>>A;cout<<" "; cin>>B;cout<<" "; cin>>C;cout<<" "; cin>>D; A1=A*B; A2=C*D; if(A1>A2) {cout<<A1;} elseif(A1<A2) {cout<<A2;} else {cout<<A1;} return 0; }
a.cc: In function 'int main()': a.cc:19:1: error: 'elseif' was not declared in this scope 19 | elseif(A1<A2) | ^~~~~~ a.cc:21:1: error: 'else' without a previous 'if' 21 | else | ^~~~
s789585436
p03826
C
#include<stdio.h> int main() { int a,b,c,d,e,f; scanf("%d,%d,%d,%d",&a,&b,&c,&d); e=a*b; f=c*d; if(e>f) { printf("highest area=%d",e); } else { pintf("highest area=%d",f); } }
main.c: In function 'main': main.c:12:4: error: implicit declaration of function 'pintf'; did you mean 'printf'? [-Wimplicit-function-declaration] 12 | { pintf("highest area=%d",f); | ^~~~~ | printf
s761582011
p03826
C
#include<stdio.h> void main() { int a,b,c,d; scanf("%d",&a); scanf("%d",&b); scanf("%d",&c); scanf("%d",&d); if(a*b>c*d) {printf("%d",a*b)}; if(a*b<c*d) {printf("%d",c*d)}; if(a*b==c*d) {printf("%d",c*d)}; }
main.c: In function 'main': main.c:10:18: error: expected ';' before '}' token 10 | {printf("%d",a*b)}; | ^ | ; main.c:12:18: error: expected ';' before '}' token 12 | {printf("%d",c*d)}; | ^ | ; main.c:14:18: error: expec...
s784176004
p03826
C
#include<stdio.h> int main() { int A,B,C,D,E,F; int 1<=A<=10000 ; int 1<=B<=10000; int 1<=C<=10000 ; int 1<=D<=10000; printf ("Enter value of %d %d %d %d",A,B,C,D); scanf ( "%d%d%d%d",&A,&B,&C,&D); E=A*B; F=C*D; ...
main.c: In function 'main': main.c:5:16: error: expected identifier or '(' before numeric constant 5 | int 1<=A<=10000 ; | ^ main.c:6:16: error: expected identifier or '(' before numeric constant 6 | int 1<=B<=10000; | ^ main.c:7:15: error: expecte...
s305299891
p03826
C
#include<studio.h> int main() {int a,b,c,d,e,f; scanf("%d %d %d %d",&a,&b,&c,&d); e=a*b; f=c*d; if(e>=f) {printf("%d",e); } else{ printf("%d",f); } }
main.c:1:9: fatal error: studio.h: No such file or directory 1 | #include<studio.h> | ^~~~~~~~~~ compilation terminated.
s676250870
p03826
C
#include<studio.h> int main() {int a,b,c,d,e,f; scanf("%d %d %d %d",&a,&b,&c,&d); e=a*b; f=c*d; if(e>=f) {printf("%d",e); } else{ printf("%d",f); } }
main.c:1:9: fatal error: studio.h: No such file or directory 1 | #include<studio.h> | ^~~~~~~~~~ compilation terminated.
s942758217
p03826
C
#include<stdio.h> int main() {int a,b,c,d,e,f; scanf("%d %d %d %d",&a,&b,&c,&d); e=a×b; f=c×d; if(e>=f) {printf("%d",e); } else{ printf("%d",f); } }
main.c: In function 'main': main.c:5:4: error: stray '\303' in program 5 | e=a<U+00D7>b; | ^~~~~~~~ main.c:5:4: error: expected ';' before 'b' 5 | e=a×b; | ^~ | ; main.c:6:4: error: stray '\303' in program 6 | f=c<U+00D7>d; | ^~~~~~~~ main.c:6:4: error: expected ';' befor...
s295301444
p03826
C
#include<studio.h> int main() {int a,b,c,d,e,f; scanf("%d %d %d %d",&a,&b,&c,&d); e=a×b; f=c×d; if(e>=f) {printf("%d",e); } else{ printf("%d",f); } }
main.c:1:9: fatal error: studio.h: No such file or directory 1 | #include<studio.h> | ^~~~~~~~~~ compilation terminated.
s280862522
p03826
C++
#include<iostream> using namespace std; void main() { int A,B,C,D,area1,area2; cin>>A; cin>>B; cin>>C; cin>>D; area1=A*B; area2=C*D; if(area1>=area2) {cout<<area1;} else cout<<area2; }
a.cc:3:1: error: '::main' must return 'int' 3 | void main() | ^~~~
s150578970
p03826
Java
import java.util.Scanner; public final class rect { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = s.nextInt(); int d = s.nextInt(); i...
Main.java:3: error: class rect is public, should be declared in a file named rect.java public final class rect { ^ 1 error
s202377268
p03826
C
#include<stdio.h> void main() { int a,b,c,d; scanf("%d",&a) scanf("%d",&b) scanf("%d",&c) scanf("%d",&d) if(a*b>c*d) {printf("%d",a*b)} if(a*b<c*d) {printf("%d",c*d)} if(a*b==c*d) {printf("%d",c*d)} }
main.c: In function 'main': main.c:5:15: error: expected ';' before 'scanf' 5 | scanf("%d",&a) | ^ | ; 6 | scanf("%d",&b) | ~~~~~
s436858438
p03826
C
#include<stdio.h> int main() { int A,B,C,D,E,F; if { if {1<=A<=10000&&1<=B<=10000}&&if {1<=C<=10000&&1<=D=<10000} printf ("Enter value of %d %d %d %d",A,B,C,D); scanf ( "%d%d%d%d",&A,&B,&C,&D); E=A*B; F=C*D; ...
main.c: In function 'main': main.c:5:15: error: expected '(' before '{' token 5 | if { | ^ | ( main.c:6:41: error: expected identifier before 'if' 6 | if {1<=A<=10000&&1<=B<=10000}&&if {1<=C<=10000&&1<=D=<10000} | ...
s652690481
p03826
C++
#include<iostream> using namespace std; int main() {int a[4], Ar[2], i; cout<<"enter no in serial length of rectangle 1 \nbreadth of rectangle 1\nlength of rectangle 2\n breadth of rectangle 2\n" ; for(i=0;i<4;i++) cin>>a[i] ; for(i=0;i<2;i++) {Ar[i] = a[2i] *a[2i+1]; } if(Ar[0]>Ar[1]) {cout<<"greater...
a.cc: In function 'int main()': a.cc:8:18: error: invalid types 'int [4][__complex__ int]' for array subscript 8 | {Ar[i] = a[2i] *a[2i+1]; | ^ a.cc:8:25: error: invalid types 'int [4][__complex__ int]' for array subscript 8 | {Ar[i] = a[2i] *a[2i+1]; | ...
s524352348
p03826
C
#include<stdio.h> Int main() { Int a,b,c,d,e,f; Scanf("%d %d %d %d",&a,&b,&c,&d); e=a×b; f=c×d; If (e>=f) {printf("%d",e);} else {printf("%d",f); } }
main.c:3:1: error: unknown type name 'Int'; did you mean 'int'? 3 | Int main() | ^~~ | int main.c: In function 'main': main.c:5:1: error: unknown type name 'Int'; did you mean 'int'? 5 | Int a,b,c,d,e,f; | ^~~ | int main.c:6:1: error: implicit declaration of function 'Scanf'; did you mea...
s634614184
p03826
C
#include<stdio.h> int main() { int A,B,C,D,E,F; 1<=A<=10000; 1<=B<=10000; 1<=C<=10000; 1<=D=<10000; printf ("Enter value of %d %d %d %d",A,B,C,D); scanf ( "%d%d%d%d",&A,&B,&C,&D); E=A*B; F=C*D; if...
main.c: In function 'main': main.c:8:16: error: expected expression before '<' token 8 | 1<=D=<10000; | ^
s186923493
p03826
Java
import java.util.*; public class rect { int ar[]=new int[4]; public void input() { int i; Scanner read=new Scanner(System.in); System.out.println("enter"); for(i=0;i<4;i++) { ar[i]=read.nextInt(); } } public int recto() { int a=(ar[0]*ar[1]); int b=(ar[2]*ar[3]); if(a>b) return a; else i...
Main.java:2: error: class rect is public, should be declared in a file named rect.java public class rect ^ 1 error
s998647440
p03826
C
#include<stdio.h> int main() { int A,B,C,D,E,F; if (1<=A<=10000 && 1<=B<=10000 && 1<=C<=10000 && 1<=D=<10000 ) { printf ("Enter value of %d %d %d %d",A,B,C,D); scanf ( "%d%d%d%d",&A,&B,&C,&D); E=A*B; F=C*D; if (E>=F) pri...
main.c: In function 'main': main.c:5:67: error: expected expression before '<' token 5 | if (1<=A<=10000 && 1<=B<=10000 && 1<=C<=10000 && 1<=D=<10000 ) { | ^
s001543272
p03826
C
#include<stdio.h> int main() { int A,B,C,D,E,F; if (1=<A=<10000 && 1=<B=<10000 && 1=<C=<10000 && 1=<D=<10000 &&) { printf ("Enter value of %d %d %d %d",A,B,C,D); scanf ( "%d%d%d%d",&A,&B,&C,&D); E=A*B; F=C*D; if (E>=F) p...
main.c: In function 'main': main.c:5:19: error: expected expression before '<' token 5 | if (1=<A=<10000 && 1=<B=<10000 && 1=<C=<10000 && 1=<D=<10000 &&) { | ^
s923851532
p03826
C++
#include<iostream> void main() { int A,B,C,D,area1,area2; cin>>A; cin>>B; cin>>C; cin>>D; area1=A*B; area2=C*D; if(area1>=area2) {cout<<area1;} else cout<<area2; }
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...
s563871658
p03826
Java
import java.io.*; import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int a=Integer.parseInt(br.read()); int b=Integer.parseInt(br.read()); int c=Inte...
Main.java:10: error: incompatible types: int cannot be converted to String int a=Integer.parseInt(br.read()); ^ Main.java:11: error: incompatible types: int cannot be converted to String int b=Integer.parseInt(br.read()); ^ Main.java:12: error: incompatible ty...
s418519552
p03826
C++
#include<iostream.h> void main() { int A,B,C,D,area1,area2; cin>>A; cin>>B; cin>>C; cin>>D; area1=A*B; area2=C*D; if(area1>=area2) {cout<<area1;} else cout<<area2; }
a.cc:1:9: fatal error: iostream.h: No such file or directory 1 | #include<iostream.h> | ^~~~~~~~~~~~ compilation terminated.
s660653240
p03826
C++
#include<iostream.h> void main() { int A,B,C,D,area1,area2; cin>>A; cin>>B; cin>>C; cin>>D; area1=A*B; area2=C*D; if(area1>=area2) {cout<<area1;} else cout<<area2; }
a.cc:1:9: fatal error: iostream.h: No such file or directory 1 | #include<iostream.h> | ^~~~~~~~~~~~ compilation terminated.
s334398823
p03826
C++
#include<iostream> #include<stdio.h> int main( ){ int A,B,C,D,area1,area2; A=5; B=10; C=12; D=20; area1=A*B; area2=C*D; if (area1>area2){ cout<<area1<<endl; } else { cout<<area2<<endl; } return0; }
a.cc: In function 'int main()': a.cc:12:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'? 12 | cout<<area1<<endl; } | ^~~~ | std::cout In file included from a.cc:1: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< L...