Borderou de evaluare (job #1283655)

Utilizator BorleaAndreiBorlea Andrei Daniel BorleaAndrei Data 5 decembrie 2014 21:49:30
Problema Asmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&s[i]); ^ 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",&n); ^ user.cpp:37:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&s[i]); ^ user.cpp:40:32: 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
1Depăşit56556kbTime limit exceeded.0
20ms464kbIncorect0
30ms476kbOK10
40ms484kbOK10
50ms504kbOK10
64ms860kbIncorect0
7Depăşit41120kbTime limit exceeded.0
8Depăşit58868kbTime limit exceeded.0
9Depăşit54484kbTime limit exceeded.0
10Depăşit56932kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?