Pagini recente » Borderou de evaluare (job #2519100) | Borderou de evaluare (job #410041) | Borderou de evaluare (job #2223023) | Borderou de evaluare (job #769496) | Borderou de evaluare (job #1640105)
Borderou de evaluare (job #1640105)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:20: warning: unused variable ‘l’ [-Wunused-variable]
int n, i, top, l;
^
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.in", "r", stdin);
^
user.cpp:9:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &h[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 4ms | 664kb | OK | 10 |
5 | 16ms | 1096kb | OK | 10 |
6 | 16ms | 1444kb | OK | 10 |
7 | 44ms | 2440kb | OK | 10 |
8 | 52ms | 2784kb | OK | 10 |
9 | 52ms | 2500kb | OK | 10 |
10 | 52ms | 2640kb | OK | 10 |
Punctaj total | 100 |