Pagini recente » Borderou de evaluare (job #2411193) | Borderou de evaluare (job #2508098) | Monitorul de evaluare | Borderou de evaluare (job #1975200) | Borderou de evaluare (job #1464519)
Borderou de evaluare (job #1464519)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma.in", "r", stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma.out", "w", stdout);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:28:27: warning: ‘ans_dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int Max = -inf, ans_st, ans_dr;
^
user.cpp:28:19: warning: ‘ans_st’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int Max = -inf, ans_st, ans_dr;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Ok! | 10 |
| 2 | 0ms | 268kb | Ok! | 10 |
| 3 | 0ms | 280kb | Ok! | 10 |
| 4 | 0ms | 272kb | Ok! | 10 |
| 5 | 0ms | 288kb | Ok! | 10 |
| 6 | 52ms | 348kb | Ok! | 10 |
| 7 | 0ms | 252kb | Wall time limit exceeded. | 0 |
| 8 | 0ms | 248kb | Wall time limit exceeded. | 0 |
| 9 | 0ms | 236kb | Wall time limit exceeded. | 0 |
| 10 | 0ms | 236kb | Wall time limit exceeded. | 0 |
| Punctaj total | 60 |