Borderou de evaluare (job #992182)

Utilizator cosmyoPaunel Cosmin cosmyo Data 1 septembrie 2013 13:44:15
Problema Robot2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 4

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:78:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:107:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d", &start.first, &start.second, &finish.first, &finish.second); ^ user.cpp:107:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:107:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:107:84: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] /tmp/ccKutm6K.o: In function `main': user.cpp:(.text.startup+0xfb): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms860kbb) si c) lipsa!0
24ms2324kbb) si c) lipsa!0
316ms4132kbb) si c) lipsa!0
496ms11412kbb) si c) lipsa!0
5108ms11412kbb) si c) lipsa!0
6232ms18688kbb) si c) lipsa!0
7224ms18692kbb) si c) lipsa!0
8Depăşit36856kbTime limit exceeded.0
9212ms29656kbb) si c) lipsa!2
10184ms18672kbb) si c) lipsa!2
Punctaj total4

Ceva nu functioneaza?