Borderou de evaluare (job #1669622)

Utilizator pitradaPit-Rada Ionel-Vasile pitrada Data 30 martie 2016 21:20:53
Problema Deque Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&n,&k); ^ user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:11:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d\n",&v[i]); ^ user.cpp:34:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",s); ^ user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("deque.in","r",stdin); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("deque.out","w",stdout); ^ user.cpp:8:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^ user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
20ms276kbOK55
320ms308kbOK55
428ms324kbIncorect00
5Depăşit1416kbTime limit exceeded.00
6Depăşit1412kbTime limit exceeded.00
7Depăşit2392kbTime limit exceeded.00
8Depăşit2392kbTime limit exceeded.0
9Depăşit3084kbTime limit exceeded.0
10Depăşit2520kbTime limit exceeded.00
11Depăşit2588kbTime limit exceeded.0
12Depăşit2944kbTime limit exceeded.0
13Depăşit26424kbTime limit exceeded.00
14736ms19780kbKilled by signal 11(SIGSEGV).0
15748ms19776kbKilled by signal 11(SIGSEGV).0
161444ms39312kbKilled by signal 11(SIGSEGV).0
171512ms39304kbKilled by signal 11(SIGSEGV).0
181468ms39308kbKilled by signal 11(SIGSEGV).0
191464ms39308kbKilled by signal 11(SIGSEGV).0
201772ms39300kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?