Borderou de evaluare (job #1215920)

Utilizator atatomirTatomir Alex atatomir Data 2 august 2014 18:37:25
Problema Kami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kami.in","r",stdin); ^ user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kami.out","w",stdout); ^ user.cpp:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n",&n); ^ user.cpp:44:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n",&m); ^ user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&op); ^ user.cpp:61:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld\n",&x,&val); ^ user.cpp:65:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n",&x); ^ /tmp/ccuy0Ngp.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms444kbOK1010
20ms464kbOK1010
3252ms1420kbOK1010
4Depăşit1012kbTime limit exceeded.00
5Depăşit1160kbTime limit exceeded.00
6Depăşit1164kbTime limit exceeded.00
7Depăşit1408kbTime limit exceeded.00
8Depăşit1884kbTime limit exceeded.0
9Depăşit1884kbTime limit exceeded.0
10Depăşit1984kbTime limit exceeded.00
Punctaj total30

Ceva nu functioneaza?