Pagini recente » Borderou de evaluare (job #1282460) | Borderou de evaluare (job #390723) | Borderou de evaluare (job #1252591) | Borderou de evaluare (job #60015) | Borderou de evaluare (job #477120)
Borderou de evaluare (job #477120)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:12: error: ‘LONG_MAX’ was not declared in this scope
int rez = LONG_MAX;
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "r", stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "w", stdout);
^
user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &p, &k);
^
user.cpp:21:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &lung[i], &cap[i]);
^
user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n1, &n2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 12kb | OK | 10 |
2 | 0ms | 8kb | OK | 10 |
3 | 0ms | 8kb | OK | 10 |
4 | 0ms | 12kb | OK | 10 |
5 | 0ms | 12kb | OK | 10 |
6 | 4ms | 12kb | OK | 10 |
7 | 12ms | 316kb | OK | 10 |
8 | 24ms | 480kb | OK | 10 |
9 | Depăşit | 468kb | Time limit exceeded. | 0 |
10 | Depăşit | 536kb | Time limit exceeded. | 0 |
Punctaj total | 0 |