Pagini recente » Borderou de evaluare (job #2878822) | Borderou de evaluare (job #1120861) | Borderou de evaluare (job #1971475) | Borderou de evaluare (job #1808549) | Borderou de evaluare (job #1707480)
Borderou de evaluare (job #1707480)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ktown.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ktown.out","w",stdout);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
user.cpp:14:15: warning: ‘position’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,j,position;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 284kb | OK | 10 |
7 | 172ms | 332kb | OK | 10 |
8 | 144ms | 336kb | OK | 10 |
9 | 176ms | 332kb | OK | 10 |
10 | 200ms | 332kb | OK | 10 |
Punctaj total | 100 |