Borderou de evaluare (job #2479653)

Utilizator Andrei.GheorgheAndrei Gheorghe Andrei.Gheorghe Data 24 octombrie 2019 10:11:24
Problema Ramen Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 32

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f,"%d%d",&n,&d); ^ main.cpp:20:22: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:23:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(f,"%d%d",&x,&y); ^ main.cpp:23:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:25:19: warning: unused variable 'yu' [-Wunused-variable] long long int yu=oameni.top().first; ^~ main.cpp:68:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(prim->urm=NULL) ^ main.cpp:79:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(g,"%d\n",adv[i]); ^ main.cpp:78:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i<=n;i++) ^~~ main.cpp:81:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp:20:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&d); ^ main.cpp:23:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect4
22ms131kbCorect3
32ms131kbCorect3
42ms131kbCorect4
53ms131kbCorect6
611ms262kbCorect6
79ms339kbCorect6
82ms262kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
123ms262kbKilled by Signal 110
132ms262kbKilled by Signal 110
143ms262kbKilled by Signal 110
154ms393kbKilled by Signal 110
163ms262kbKilled by Signal 110
172ms262kbKilled by Signal 110
183ms393kbKilled by Signal 110
192ms131kbKilled by Signal 110
203ms262kbKilled by Signal 110
212ms131kbKilled by Signal 110
222ms262kbKilled by Signal 110
Punctaj total32

Ceva nu functioneaza?