Pagini recente » Borderou de evaluare (job #2579273) | Borderou de evaluare (job #923528) | Borderou de evaluare (job #2696235) | Borderou de evaluare (job #3161188) | Borderou de evaluare (job #2301605)
Borderou de evaluare (job #2301605)
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=1;i<=n;i++)i>>v[i];std::nth_element(v+1,v+k,v+n+1);o<<v[k];}
^
main.cpp: In function 'int main()':
main.cpp:2:110: 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=1;i<=n;i++)i>>v[i];std::nth_element(v+1,v+k,v+n+1);o<<v[k];}
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 4ms | 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 | 35ms | 11403kb | Incorect | 0 |
10 | 38ms | 12189kb | Incorect | 0 |
Punctaj total | 0 |