Borderou de evaluare (job #1423851)

Utilizator GinguIonutGinguIonut GinguIonut Data 22 aprilie 2015 20:57:56
Problema Luna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&mat[i][j]); ^ user.cpp:34:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d",&val,&lin,&col); ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("luna.in","r",stdin); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("luna.out","w",stdout); ^ user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&mat[i][j]); ^ user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:34:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&val,&lin,&col); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK5
20ms256kbOK5
34ms756kbOK5
44ms752kbOK5
5Depăşit756kbTime limit exceeded.0
6Depăşit764kbTime limit exceeded.0
70ms260kbOK5
80ms252kbOK5
98ms256kbOK5
100ms260kbOK5
118ms256kbOK5
124ms256kbOK5
130ms272kbOK5
14Depăşit280kbTime limit exceeded.0
150ms304kbOK5
168ms296kbOK5
17Depăşit392kbTime limit exceeded.0
18Depăşit388kbTime limit exceeded.0
19Depăşit396kbTime limit exceeded.0
20Depăşit380kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?