Borderou de evaluare (job #1948988)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 1 aprilie 2017 17:18:09
Problema Aiacupalindroame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aiacupalindroame.in", "r", stdin); ^ user.cpp:50:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aiacupalindroame.out", "w", stdout); ^ user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ user.cpp:55:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", par[0] + i); ^ user.cpp:59:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(l); ^ user.cpp:75:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ /tmp/ccyW06N8.o: In function `main': user.cpp:(.text.startup+0xe9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2588kbOK5
28ms2576kbOK5
38ms2588kbOK5
48ms2596kbOK5
58ms2592kbOK5
6172ms7044kbOK5
7176ms6952kbOK5
8184ms7012kbOK5
9176ms7020kbOK5
10172ms7092kbOK5
11176ms7048kbOK5
12176ms7048kbOK5
13Depăşit24648kbTime limit exceeded.0
14Depăşit24956kbTime limit exceeded.0
15Depăşit24896kbTime limit exceeded.0
16Depăşit25304kbTime limit exceeded.0
17Depăşit24616kbTime limit exceeded.0
18Depăşit24548kbTime limit exceeded.0
194ms2372kbOK5
204ms2368kbOK5
Punctaj total70

Ceva nu functioneaza?