Borderou de evaluare (job #1276529)

Utilizator azkabancont-vechi azkaban Data 26 noiembrie 2014 15:48:09
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d",&n); ^ user.cpp:12:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%d%d\n",&A[i],&B[i]); ^ user.cpp:12:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:15:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%d",rs); ^ user.cpp:10:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:12:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d\n",&A[i],&B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms436kbOK55
20ms432kbOK55
30ms436kbOK55
40ms436kbIncorect00
50ms444kbIncorect00
60ms448kbIncorect00
70ms448kbIncorect00
80ms444kbIncorect00
94ms588kbIncorect00
104ms588kbIncorect0
114ms588kbIncorect0
124ms584kbIncorect0
134ms584kbIncorect0
144ms588kbIncorect0
158msDepăşitMemory limit exceeded.00
168msDepăşitMemory limit exceeded.0
178msDepăşitMemory limit exceeded.0
188msDepăşitMemory limit exceeded.0
198msDepăşitMemory limit exceeded.0
2012msDepăşitMemory limit exceeded.0
Punctaj total15

Ceva nu functioneaza?