Borderou de evaluare (job #1384175)

Utilizator binicBinica Nicolae binic Data 10 martie 2015 22:12:48
Problema Poveste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("poveste.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("poveste.out","w",stdout); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:13:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:16:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccwZ4WA9.o: In function `main': user.cpp:(.text.startup+0xb6): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms456kbOK1020
20ms416kbOK10
3212ms1432kbOK1020
4232ms1240kbOK10
5Depăşit2216kbTime limit exceeded.00
6556ms2224kbOK10
7Depăşit2580kbTime limit exceeded.00
8Depăşit2976kbTime limit exceeded.00
9Depăşit4156kbTime limit exceeded.0
10Depăşit4152kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?