Borderou de evaluare (job #1557925)

Utilizator ASTELOTudor Enescu ASTELO Data 28 decembrie 2015 14:27:22
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in","r",stdin); ^ user.cpp:11:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out","w",stdout); ^ user.cpp:12:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s1); ^ user.cpp:14:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:15:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&vc[i]); ^ /tmp/ccK8Nakr.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbIncorect0
20ms260kbOK10
3Depăşit236kbTime limit exceeded.0
4Depăşit236kbTime limit exceeded.0
5Depăşit240kbTime limit exceeded.0
6Depăşit236kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?