Pagini recente » Cod sursa (job #1908248) | Borderou de evaluare (job #1090041) | Borderou de evaluare (job #1821855) | Borderou de evaluare (job #1901676) | Borderou de evaluare (job #2531053)
Borderou de evaluare (job #2531053)
Raport evaluator
Compilare:
main.cpp: In function 'bool check(long long int, int, int)':
main.cpp:11:9: warning: unused variable 'ok' [-Wunused-variable]
int ok = 1;
^~
main.cpp: In function 'int main()':
main.cpp:24:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.in", "r", stdin);
^
main.cpp:25:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.out", "w", stdout);
^
main.cpp:28:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:30:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &b[i], &a[i]);
^
main.cpp:44:5: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (a[i] > last)
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 16ms | 262kb | OK | 10 |
| 4 | 59ms | 655kb | OK | 10 |
| 5 | 76ms | 786kb | OK | 10 |
| 6 | 99ms | 1048kb | OK | 10 |
| 7 | 241ms | 1703kb | OK | 10 |
| 8 | 266ms | 1703kb | OK | 10 |
| 9 | 294ms | 1835kb | OK | 10 |
| 10 | 297ms | 1703kb | OK | 10 |
| Punctaj total | 100 |