Borderou de evaluare (job #1744299)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 19 august 2016 16:16:41
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:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&p); ^ user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&n,&v); ^ user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:123: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:123:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] user.cpp:123:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] user.cpp:158:19: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] y=n<<1+(n-2)<<1; ^ 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("cub2.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("cub2.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ user.cpp:12: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
10ms264kbCorect2
20ms264kbCorect2
30ms280kbCorect2
40ms316kbCorect2
50ms344kbCorect2
60ms352kbCorect2
70ms392kbCorect2
80ms408kbCorect2
90ms412kbCorect2
100ms420kbCorect2
110ms268kbCorect8
120ms272kbCorect8
130ms320kbCorect8
140ms432kbCorect8
154ms708kbCorect8
1652ms2316kbCorect8
17136ms3500kbCorect8
18252ms5064kbCorect8
19324ms6056kbCorect8
20Depăşit8044kbTime limit exceeded.0
Punctaj total92

Ceva nu functioneaza?