Borderou de evaluare (job #1521122)

Utilizator ASTELOTudor Enescu ASTELO Data 9 noiembrie 2015 22:20:22
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/cc270Hlg.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ăşit264kbTime limit exceeded.0
3Depăşit264kbTime limit exceeded.0
4Depăşit256kbTime limit exceeded.0
5Depăşit264kbTime limit exceeded.0
6Depăşit264kbTime limit exceeded.0
70ms276kbIncorect0
8Depăşit276kbTime limit exceeded.0
9Depăşit276kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?