Pagini recente » Borderou de evaluare (job #1838240) | Borderou de evaluare (job #716959) | Borderou de evaluare (job #864536) | Borderou de evaluare (job #1697759) | Borderou de evaluare (job #2018860)
Borderou de evaluare (job #2018860)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:55:28: 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:59:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:65:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:67:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
/tmp/ccDYTz28.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 208ms | 1492kb | OK | 5 |
| 2 | 208ms | 1488kb | OK | 5 |
| 3 | 20ms | 1624kb | OK | 5 |
| 4 | 20ms | 1620kb | OK | 5 |
| 5 | 20ms | 1588kb | OK | 5 |
| 6 | 20ms | 1588kb | OK | 5 |
| 7 | 212ms | 3376kb | OK | 5 |
| 8 | 216ms | 3444kb | OK | 5 |
| 9 | 204ms | 3444kb | OK | 5 |
| 10 | 208ms | 1488kb | OK | 5 |
| 11 | 208ms | 1300kb | OK | 5 |
| 12 | 200ms | 1712kb | OK | 5 |
| 13 | 208ms | 1496kb | OK | 5 |
| 14 | 196ms | 1708kb | OK | 5 |
| 15 | 212ms | 1504kb | OK | 5 |
| 16 | 204ms | 41336kb | OK | 5 |
| 17 | 340ms | 41496kb | OK | 5 |
| 18 | 336ms | 41532kb | OK | 5 |
| 19 | 328ms | 41400kb | OK | 5 |
| 20 | 336ms | 41392kb | OK | 5 |
| Punctaj total | 100 |