Pagini recente » Borderou de evaluare (job #3297416) | Borderou de evaluare (job #2428043) | Borderou de evaluare (job #3313496) | Borderou de evaluare (job #1916422) | Borderou de evaluare (job #1317016)
Borderou de evaluare (job #1317016)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75: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:76: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:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &tip);
^
user.cpp:87:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &x);
^
user.cpp:91:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (actual + 1);
^
user.cpp:108: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:109:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:113:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &tip);
^
user.cpp:117:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &x);
^
user.cpp:125:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (actual + 1);
^
/tmp/cclTOSBw.o: In function `main':
user.cpp:(.text.startup+0xde): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 156ms | 4948kb | OK | 5 |
| 2 | 300ms | 9516kb | OK | 5 |
| 3 | 0ms | 712kb | OK | 5 |
| 4 | 156ms | 4956kb | OK | 5 |
| 5 | 16ms | 1308kb | OK | 5 |
| 6 | 152ms | 4964kb | OK | 5 |
| 7 | 136ms | 8372kb | OK | 5 |
| 8 | 184ms | 6196kb | OK | 5 |
| 9 | 296ms | 9432kb | OK | 5 |
| 10 | 288ms | 9376kb | OK | 5 |
| 11 | 388ms | Depăşit | Memory limit exceeded. | 0 |
| 12 | 268ms | 9488kb | OK | 5 |
| 13 | 380ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 164ms | 7492kb | OK | 5 |
| 15 | 396ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 396ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 408ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 244ms | 7908kb | OK | 5 |
| 19 | 448ms | 41112kb | OK | 5 |
| 20 | 444ms | 41084kb | OK | 5 |
| Punctaj total | 75 |