Borderou de evaluare (job #1419829)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 16 aprilie 2015 19:16:21
Problema Cub2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 92

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&p); ^ user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&n,&v); ^ user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:119:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d %d %d\n",linie,coloana,inaltime); ^ user.cpp:119:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:119:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cub2.in","r",stdin); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cub2.out","w",stdout); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ 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,&v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbCorect2
20ms276kbCorect2
30ms300kbCorect2
40ms328kbCorect2
50ms360kbCorect2
60ms364kbCorect2
70ms404kbCorect2
80ms420kbCorect2
90ms432kbCorect2
100ms436kbCorect2
110ms276kbCorect8
120ms280kbCorect8
130ms340kbCorect8
144ms444kbCorect8
158ms728kbCorect8
1668ms2328kbCorect8
17160ms3508kbCorect8
18288ms5072kbCorect8
19368ms6068kbCorect8
20Depăşit8052kbTime limit exceeded.0
Punctaj total92

Ceva nu functioneaza?