Borderou de evaluare (job #2479657)

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

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(long long 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
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
122ms131kbKilled by Signal 110
132ms131kbKilled by Signal 110
142ms131kbKilled by Signal 110
152ms131kbKilled by Signal 110
162ms131kbKilled by Signal 110
172ms131kbKilled by Signal 110
182ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
212ms131kbKilled by Signal 110
222ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?