Pagini recente » Cod sursa (job #1751567) | Borderou de evaluare (job #3009303) | Borderou de evaluare (job #3009393) | Borderou de evaluare (job #1183220) | Borderou de evaluare (job #1239516)
Borderou de evaluare (job #1239516)
Raport evaluator
Compilare:
user.cpp: In function ‘void quick(int, int)’:
user.cpp:15:51: 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:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28: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 | 256kb | OK | 5 | 20 |
| 2 | 0ms | 256kb | OK | 5 |
| 3 | 0ms | 252kb | OK | 5 |
| 4 | 0ms | 252kb | OK | 5 |
| 5 | 0ms | 260kb | OK | 5 | 20 |
| 6 | 0ms | 256kb | OK | 5 |
| 7 | 0ms | 260kb | OK | 5 |
| 8 | 0ms | 260kb | OK | 5 |
| 9 | 68ms | 648kb | OK | 5 | 20 |
| 10 | 60ms | 648kb | OK | 5 |
| 11 | 56ms | 648kb | OK | 5 |
| 12 | 64ms | 644kb | OK | 5 |
| 13 | 252ms | 1620kb | OK | 5 | 20 |
| 14 | 204ms | 1620kb | OK | 5 |
| 15 | 204ms | 1620kb | OK | 5 |
| 16 | 220ms | 1616kb | OK | 5 |
| 17 | 392ms | 2204kb | OK | 5 | 20 |
| 18 | 292ms | 2204kb | OK | 5 |
| 19 | 296ms | 2204kb | OK | 5 |
| 20 | 324ms | 2208kb | OK | 5 |
| Punctaj total | 100 |