Borderou de evaluare (job #1751122)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 31 august 2016 19:12:45
Problema Superbec Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void readInput()’: user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &N, &M); ^ user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S + 1); ^ user.cpp: In function ‘int main()’: user.cpp:209:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &T); T > 0; T--) { ^ /tmp/ccBaFYSW.o: In function `readInput()': user.cpp:(.text+0x2f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms280kbOK1020
216ms280kbOK10
3252ms280kbOK1030
4144ms280kbOK10
5264ms280kbOK10
6260ms284kbOK1020
7148ms284kbOK10
8Depăşit368kbTime limit exceeded.00
9792ms372kbOK10
10800ms368kbOK10
Punctaj total70

Ceva nu functioneaza?