Pagini recente » Borderou de evaluare (job #2508236) | Borderou de evaluare (job #2411667) | Borderou de evaluare (job #333177) | Borderou de evaluare (job #1984408) | Borderou de evaluare (job #1261959)
Borderou de evaluare (job #1261959)
Raport evaluator
Compilare:
user.cpp: In function ‘int Quick(int, int, int)’:
user.cpp:20:54: warning: operation on ‘v[j]’ may be undefined [-Wsequence-point]
if (i<=j) v[i]=v[i]^v[j]^(v[j]=v[i]),i++,j--;
^
user.cpp: In function ‘int main()’:
user.cpp:28:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.in","r",stdin);
^
user.cpp:29:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.out","w",stdout);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 10 |
2 | 32ms | 652kb | OK | 10 | 10 |
3 | 24ms | 536kb | OK | 10 | 10 |
4 | 24ms | 576kb | OK | 10 | 10 |
5 | 44ms | 852kb | OK | 10 | 10 |
6 | 808ms | 10032kb | OK | 10 | 10 |
7 | 760ms | 10032kb | OK | 10 | 10 |
8 | 840ms | 10028kb | OK | 10 | 30 |
9 | 896ms | 11200kb | OK | 10 |
10 | 944ms | 11980kb | OK | 10 |
Punctaj total | 100 |