Borderou de evaluare (job #1843493)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 8 ianuarie 2017 19:48:26
Problema Vmin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&N,&M); ^ user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:20:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d %d",&A[i],&B[i]); ^ user.cpp:20:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:48:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&val); ^ user.cpp:17:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&N,&M); ^ user.cpp:20:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&A[i],&B[i]); ^ user.cpp:48:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&val); ^ user.cpp:44:28: warning: ‘ti’ may be used uninitialized in this function [-Wmaybe-uninitialized] incepmin[dr]=ti; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1852kbOK10
20ms1860kbOK10
30ms1860kbIncorect0
44ms1876kbIncorect0
528ms2028kbIncorect0
6100ms2184kbIncorect0
7112ms2496kbIncorect0
8360ms3404kbIncorect0
9Depăşit3408kbTime limit exceeded.0
10Depăşit3404kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?