Borderou de evaluare (job #1459062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.in","r",stdin);
^
user.cpp:87:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.out","w",stdout);
^
user.cpp:89:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &n, &m, &win, &draw);
^
user.cpp:93:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir + 1);
^
/tmp/ccjesq5b.o: In function `main':
user.cpp:(.text.startup+0x98): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 5 |
| 2 | 0ms | 276kb | OK | 5 |
| 3 | 0ms | 448kb | OK | 5 |
| 4 | 0ms | 424kb | Incorect | 0 |
| 5 | 0ms | 484kb | Incorect | 0 |
| 6 | 0ms | 488kb | Incorect | 0 |
| 7 | Depăşit | 7236kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 6896kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 7076kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 7284kb | Time limit exceeded. | 0 |
| 11 | 208ms | 13964kb | Incorect | 0 |
| 12 | 248ms | 18176kb | OK | 5 |
| 13 | Depăşit | 21176kb | Time limit exceeded. | 0 |
| 14 | 260ms | 20800kb | Incorect | 0 |
| 15 | Depăşit | 17944kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 17988kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 17144kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 16580kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 704kb | Time limit exceeded. | 0 |
| 20 | 164ms | 1440kb | OK | 5 |
| Punctaj total | 25 |