Borderou de evaluare (job #1694790)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 25 aprilie 2016 22:58:00
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
10ms268kbCorect2
20ms268kbCorect2
30ms288kbCorect2
40ms320kbCorect2
50ms340kbCorect2
60ms352kbCorect2
70ms400kbCorect2
80ms408kbCorect2
90ms412kbCorect2
100ms420kbCorect2
110ms268kbCorect8
120ms276kbCorect8
130ms332kbCorect8
144ms444kbCorect8
158ms716kbCorect8
1672ms2316kbCorect8
17160ms3496kbCorect8
18292ms5068kbCorect8
19372ms6056kbCorect8
20Depăşit8056kbTime limit exceeded.0
Punctaj total92

Ceva nu functioneaza?