Borderou de evaluare (job #1878169)

Utilizator Dragne.Andrei11Dragne Andrei Dragne.Andrei11 Data 13 februarie 2017 21:55:41
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 26

Raport evaluator

Compilare: user.cpp: In function ‘void rezolvare1()’: user.cpp:41:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:45:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘void rezolvare2()’: user.cpp:56:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:60:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:110:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.in", "r", stdin); ^ user.cpp:111:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.out", "w", stdout); ^ user.cpp:113:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &p, &n); ^ /tmp/cciI5Cka.o: In function `rezolvare1()': user.cpp:(.text+0x1a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms456kbOK.520
20ms456kbOK.5
30ms448kbOK.5
40ms448kbOK.5
5368ms516kbOK.33
6Depăşit560kbTime limit exceeded.00
7240ms540kbOK.33
8Depăşit544kbTime limit exceeded.00
9Depăşit576kbTime limit exceeded.00
10Depăşit532kbTime limit exceeded.00
11Depăşit580kbTime limit exceeded.00
12Depăşit572kbTime limit exceeded.00
13Depăşit572kbTime limit exceeded.00
14Depăşit568kbTime limit exceeded.00
15Depăşit580kbTime limit exceeded.00
16Depăşit556kbTime limit exceeded.00
17Depăşit576kbTime limit exceeded.00
18Depăşit576kbTime limit exceeded.00
19Depăşit572kbTime limit exceeded.00
20Depăşit552kbTime limit exceeded.00
21Depăşit560kbTime limit exceeded.00
22Depăşit580kbTime limit exceeded.00
Punctaj total26

Ceva nu functioneaza?