Borderou de evaluare (job #1521136)

Utilizator ASTELOTudor Enescu ASTELO Data 9 noiembrie 2015 22:31:39
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.in","r",stdin); ^ user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.out","w",stdout); ^ user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%c",&n,&k,&c); ^ user.cpp:17:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cclKcOff.o: In function `main': user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit264kbTime limit exceeded.0
2Depăşit260kbTime limit exceeded.0
3Depăşit268kbTime limit exceeded.0
4Depăşit248kbTime limit exceeded.0
5Depăşit268kbTime limit exceeded.0
6Depăşit260kbTime limit exceeded.0
70ms272kbIncorect0
8Depăşit280kbTime limit exceeded.0
9Depăşit272kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?