Borderou de evaluare (job #1557921)

Utilizator ASTELOTudor Enescu ASTELO Data 28 decembrie 2015 14:23:34
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/ccpNEN5t.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
10ms260kbIncorect0
20ms264kbOK10
3Depăşit240kbTime limit exceeded.0
4Depăşit240kbTime limit exceeded.0
5Depăşit244kbTime limit exceeded.0
6Depăşit240kbTime limit exceeded.0
7Depăşit240kbTime limit exceeded.0
8Depăşit244kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?