Borderou de evaluare (job #1423815)

Utilizator GinguIonutGinguIonut GinguIonut Data 22 aprilie 2015 19:53:36
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:54: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:9: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:10: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:11: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:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:54: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
20ms252kbOK5
30ms508kbOK5
44ms504kbOK5
5Depăşit508kbTime limit exceeded.0
6Depăşit508kbTime limit exceeded.0
70ms256kbOK5
80ms256kbOK5
98ms260kbOK5
100ms260kbOK5
118ms256kbOK5
124ms260kbOK5
130ms264kbOK5
14Depăşit264kbTime limit exceeded.0
150ms276kbOK5
168ms276kbOK5
17Depăşit344kbTime limit exceeded.0
18Depăşit344kbTime limit exceeded.0
19Depăşit348kbTime limit exceeded.0
20Depăşit332kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?