Borderou de evaluare (job #1390600)

Utilizator cojocarugabiReality cojocarugabi Data 17 martie 2015 10:32:37
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:46: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if (cnt == 666013) gets(pars),cnt = 0; ^ user.cpp:18:46: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if (cnt == 666013) 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/cc3cc9uW.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
18ms412kbOK10
28ms408kbIncorect0
38ms412kbIncorect0
4Depăşit380kbTime limit exceeded.0
5Depăşit384kbTime limit exceeded.0
6Depăşit388kbTime limit exceeded.0
7Depăşit388kbTime limit exceeded.0
8Depăşit388kbTime limit exceeded.0
9Depăşit388kbTime limit exceeded.0
104ms412kbOK10
Punctaj total20

Ceva nu functioneaza?