Borderou de evaluare (job #720166)

Utilizator avatar CFGauss Carl Friedrich Gauss CFGauss IP ascuns
Problemă Run (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mai 2023 12:36:21 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'Victor' does not name a type 1 | Victor Burcovski | ^~~~~~ main.cpp: In function 'void swap(int, int)': main.cpp:25:18: warning: unused variable 'dt' [-Wunused-variable] 25 | { int t; double dt; | ^~ main.cpp: In function 'void eliminate()': main.cpp:52:7: error: 'printf' was not declared in this scope 52 | printf("%d %d %d\n",b,h[1].ch,h[1].zn); | ^~~~~~ main.cpp:3:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? 2 | #include <stdio.h> +++ |+#include <cstdio> 3 | #define MAXN 500001 main.cpp:48:24: warning: unused variable 'i' [-Wunused-variable] 48 | { int a,b,x,y,z,w;int i; | ^ In file included from main.cpp:2: main.cpp: In function 'int main()': main.cpp:80:26: error: 'stdin' was not declared in this scope 80 | freopen("run.in", "r", stdin); | ^~~~~ main.cpp:80:26: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:80:3: error: 'freopen' was not declared in this scope 80 | freopen("run.in", "r", stdin); | ^~~~~~~ main.cpp:81:27: error: 'stdout' was not declared in this scope 81 | freopen("run.out", "w", stdout); | ^~~~~~ main.cpp:81:27: note: 'stdout' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:84:4: error: 'scanf' was not declared in this scope 84 | scanf("%d %d", &N,&L); | ^~~~~ main.cpp:114:4: error: 'printf' was not declared in this scope 114 | printf("Winner(s):"); | ^~~~~~ main.cpp:114:4: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?