Borderou de evaluare (job #1317000)

Utilizator geniucosOncescu Costin geniucos Data 14 ianuarie 2015 14:01:17
Problema Nums Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("nums.in", "r", stdin); ^ user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("nums.out", "w", stdout); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &M); ^ user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d ", &tip); ^ user.cpp:63:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &x); ^ user.cpp:67:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (actual + 1); ^ user.cpp:87:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("nums.in", "r", stdin); ^ user.cpp:88:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &M); ^ user.cpp:92:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d ", &tip); ^ user.cpp:96:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &x); ^ user.cpp:103:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (actual + 1); ^ /tmp/ccR7onY9.o: In function `main': user.cpp:(.text.startup+0xe2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit5644kbTime limit exceeded.0
2Depăşit10184kbTime limit exceeded.0
30ms716kbIncorect0
4Depăşit5640kbTime limit exceeded.0
528ms1328kbIncorect0
6Depăşit5672kbTime limit exceeded.0
7136ms8600kbIncorect0
8196ms6284kbIncorect0
9Depăşit10140kbTime limit exceeded.0
10Depăşit10064kbTime limit exceeded.0
11228msDepăşitMemory limit exceeded.0
12652ms10072kbIncorect0
13220msDepăşitMemory limit exceeded.0
14240ms8528kbIncorect0
15228msDepăşitMemory limit exceeded.0
16228msDepăşitMemory limit exceeded.0
17240msDepăşitMemory limit exceeded.0
18644ms7980kbIncorect0
19544ms48056kbIncorect0
20540ms48024kbIncorect0
Punctaj total0

Ceva nu functioneaza?