Pagini recente » Cod sursa (job #2687808) | Cod sursa (job #3126095) | Cod sursa (job #3126067) | Cod sursa (job #996956) | Borderou de evaluare (job #2187998)
Borderou de evaluare (job #2187998)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in", "r", stdin);
^
user.cpp:36:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
user.cpp:55:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 9660kb | OK | 10 |
| 2 | 4ms | 9668kb | OK | 10 |
| 3 | 12ms | 9660kb | OK | 10 |
| 4 | 12ms | 9660kb | OK | 10 |
| 5 | 44ms | 9988kb | OK | 10 |
| 6 | 180ms | 13416kb | OK | 10 |
| 7 | 272ms | 14280kb | OK | 10 |
| 8 | 472ms | 16188kb | OK | 10 |
| 9 | 508ms | 16608kb | OK | 10 |
| 10 | 548ms | 17028kb | OK | 10 |
| Punctaj total | 100 |