Borderou de evaluare (job #1191116)

Utilizator tudormaximTudor Maxim tudormaxim Data 26 mai 2014 17:19:29
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void F()’: user.cpp:22:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%ld\n",sol); ^ user.cpp: In function ‘int main()’: user.cpp:31:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%ld",&a[i][j]); ^ user.cpp:37:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%ld",&Q[i]); ^ user.cpp:26: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:31:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&a[i][j]); ^ user.cpp:35:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&q); ^ user.cpp:37:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&Q[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
28ms404kbIncorect0
3176ms656kbOK10
4Depăşit948kbTime limit exceeded.0
5Depăşit1144kbTime limit exceeded.0
6Depăşit1352kbTime limit exceeded.0
7Depăşit1736kbTime limit exceeded.0
8Depăşit2048kbTime limit exceeded.0
9Depăşit2444kbTime limit exceeded.0
104ms276kbIncorect0
Punctaj total20

Ceva nu functioneaza?