Borderou de evaluare (job #1390609)

Utilizator cojocarugabiReality cojocarugabi Data 17 martie 2015 10:34:38
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:11: warning: unused variable ‘x’ [-Wunused-variable] int n,x; ^ user.cpp: In function ‘int read()’: user.cpp:11:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if (cnt == 12345) gets(pars),cnt = 0; ^ user.cpp:18:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if (cnt == 12345) gets(pars),cnt = 0; ^ user.cpp: In function ‘int main()’: user.cpp:25:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.in","r",stdin); ^ user.cpp:27:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(pars); ^ /tmp/cc9tB0Q1.o: In function `read()': user.cpp:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbOK10
20ms408kbIncorect0
30ms412kbIncorect0
4176ms652kbIncorect0
5Depăşit928kbTime limit exceeded.0
6Depăşit712kbTime limit exceeded.0
7Depăşit956kbTime limit exceeded.0
8Depăşit760kbTime limit exceeded.0
9Depăşit932kbTime limit exceeded.0
100ms408kbOK10
Punctaj total20

Ceva nu functioneaza?