Pagini recente » Borderou de evaluare (job #2699231) | Borderou de evaluare (job #1688761) | Borderou de evaluare (job #1651777) | Cod sursa (job #1746930) | Borderou de evaluare (job #1754647)
Borderou de evaluare (job #1754647)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:19: warning: unused variable ‘k’ [-Wunused-variable]
int K, i, j, k, best;
^
user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ksecv2.in", "r", stdin);
^
user.cpp:38:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ksecv2.out", "w", stdout);
^
user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &N, &K);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 10 |
| 2 | 0ms | 396kb | OK | 10 |
| 3 | 0ms | 384kb | OK | 10 |
| 4 | 4ms | 904kb | OK | 10 |
| 5 | 20ms | 1892kb | OK | 10 |
| 6 | 48ms | 2684kb | OK | 10 |
| 7 | 48ms | 2684kb | OK | 10 |
| 8 | 196ms | 6232kb | OK | 10 |
| 9 | 196ms | 6240kb | OK | 10 |
| 10 | 196ms | 6232kb | OK | 10 |
| Punctaj total | 100 |