Borderou de evaluare (job #720170)

Utilizator avatar VBMD Burcovski Victor VBMD IP ascuns
Problemă Run (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mai 2023 12:38:24 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void swap(int, int)': main.cpp:24:18: warning: unused variable 'dt' [-Wunused-variable] 24 | { int t; double dt; | ^~ main.cpp: In function 'void eliminate()': main.cpp:47:24: warning: unused variable 'i' [-Wunused-variable] 47 | { int a,b,x,y,z,w;int i; | ^ main.cpp: In function 'int main()': main.cpp:79:3: error: 'afreopen' was not declared in this scope; did you mean 'freopen'? 79 | afreopen("run.in", "r", stdin); | ^~~~~~~~ | freopen main.cpp:80:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | freopen("run.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:83:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | scanf("%d %d", &N,&L); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:85:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | { scanf("%d %d.%d",&r[i].d,&r[i].s1,&r[i].s2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~