Pagini recente » Borderou de evaluare (job #1855261) | Borderou de evaluare (job #1159759) | Borderou de evaluare (job #717758) | Borderou de evaluare (job #2809282) | Borderou de evaluare (job #2301600)
Borderou de evaluare (job #2301600)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<bits/stdc++.h>
^~~~~~
main.cpp:2:78: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
int v[3000001],n,k;std::ifstream i("sdo.in");std::ofstream o("sdo.out");main(){i>>n>>k;for(int i=0;i<n;i++)i>>v[i];std::nth_element(v,v+k,v+n);o<<v[k+1];}
^
main.cpp: In function 'int main()':
main.cpp:2:109: warning: statement has no effect [-Wunused-value]
int v[3000001],n,k;std::ifstream i("sdo.in");std::ofstream o("sdo.out");main(){i>>n>>k;for(int i=0;i<n;i++)i>>v[i];std::nth_element(v,v+k,v+n);o<<v[k+1];}
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 3ms | 524kb | Incorect | 0 | 0 |
3 | 3ms | 393kb | Incorect | 0 | 0 |
4 | 3ms | 524kb | Incorect | 0 | 0 |
5 | 4ms | 786kb | Incorect | 0 | 0 |
6 | 32ms | 10092kb | Incorect | 0 | 0 |
7 | 32ms | 10092kb | Incorect | 0 | 0 |
8 | 32ms | 10092kb | Incorect | 0 | 0 |
9 | 36ms | 11403kb | Incorect | 0 |
10 | 38ms | 12189kb | Incorect | 0 |
Punctaj total | 0 |