Pagini recente » Borderou de evaluare (job #2557174) | Borderou de evaluare (job #1909522) | Borderou de evaluare (job #1968503) | Borderou de evaluare (job #1031421) | Borderou de evaluare (job #1792352)
Borderou de evaluare (job #1792352)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi.in", "r", stdin);
^
user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi.out", "w", stdout);
^
user.cpp:23: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:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:21:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, k, ans, poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 308ms | Depăşit | Memory limit exceeded. | 0 |
2 | 364ms | Depăşit | Memory limit exceeded. | 0 |
3 | 372ms | Depăşit | Memory limit exceeded. | 0 |
4 | 348ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | 780kb | OK | 10 |
6 | 0ms | 780kb | OK | 10 |
7 | 4ms | 772kb | OK | 10 |
8 | 0ms | 776kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 60 |