Pagini recente » Borderou de evaluare (job #2448055) | Borderou de evaluare (job #1485470) | Borderou de evaluare (job #57450) | Borderou de evaluare (job #3266565) | Borderou de evaluare (job #1809645)
Borderou de evaluare (job #1809645)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv2.in", "rt", stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv2.out", "wt", stdout);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &k);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:35:28: warning: ‘right’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << left << ' ' << right << ' ' << ans << '\n';
^
user.cpp:35:13: warning: ‘left’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout << left << ' ' << right << ' ' << ans << '\n';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 412kb | OK! | 10 |
2 | 0ms | 416kb | OK! | 10 |
3 | 0ms | 428kb | OK! | 10 |
4 | 0ms | 428kb | OK! | 10 |
5 | 0ms | 492kb | OK! | 10 |
6 | 0ms | 552kb | OK! | 10 |
7 | 4ms | 648kb | OK! | 10 |
8 | 8ms | 788kb | OK! | 10 |
9 | 8ms | 784kb | OK! | 10 |
10 | 16ms | 1048kb | OK! | 10 |
Punctaj total | 100 |