Pagini recente » Borderou de evaluare (job #2587378) | Borderou de evaluare (job #2969690) | Borderou de evaluare (job #2932759) | Borderou de evaluare (job #1675282) | Borderou de evaluare (job #477118)
Borderou de evaluare (job #477118)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:16: error: ‘LONG_MAX’ was not declared in this scope
sol[i][j] = LONG_MAX;
^
user.cpp:52:12: error: ‘LONG_MAX’ was not declared in this scope
int rez = LONG_MAX;
^
user.cpp:14: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:15: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:17: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:20: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:26: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 | 0ms | 12kb | OK | 10 |
2 | 0ms | 12kb | OK | 10 |
3 | 0ms | 12kb | OK | 10 |
4 | 0ms | 12kb | OK | 10 |
5 | 0ms | 12kb | OK | 10 |
6 | 0ms | 8kb | OK | 10 |
7 | 20ms | Depăşit | Memory limit exceeded. | 0 |
8 | 48ms | Depăşit | Memory limit exceeded. | 0 |
9 | 52ms | Depăşit | Memory limit exceeded. | 0 |
10 | 48ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |