Pagini recente » Borderou de evaluare (job #237351) | Borderou de evaluare (job #1884215) | Borderou de evaluare (job #2518261) | Borderou de evaluare (job #1144793) | Borderou de evaluare (job #1261967)
Borderou de evaluare (job #1261967)
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 | 264kb | OK | 10 | 10 |
2 | 32ms | 660kb | OK | 10 | 10 |
3 | 20ms | 540kb | OK | 10 | 10 |
4 | 24ms | 580kb | OK | 10 | 10 |
5 | 48ms | 848kb | OK | 10 | 10 |
6 | 804ms | 10032kb | OK | 10 | 10 |
7 | 804ms | 10036kb | OK | 10 | 10 |
8 | 768ms | 10028kb | OK | 10 | 30 |
9 | 896ms | 11204kb | OK | 10 |
10 | 1012ms | 11980kb | OK | 10 |
Punctaj total | 100 |