Pagini recente » Borderou de evaluare (job #1424324) | Borderou de evaluare (job #2445645) | Borderou de evaluare (job #609536) | Borderou de evaluare (job #164497) | Borderou de evaluare (job #1520577)
Borderou de evaluare (job #1520577)
Raport evaluator
Compilare:
user.cpp: In function ‘void qsort(int*, int*, int, int)’:
user.cpp:16:35: warning: operation on ‘*(v + ((sizetype)(((unsigned int)j) * 4u)))’ may be undefined [-Wsequence-point]
v[i]+=v[j]-(v[j]=v[i]);
^
user.cpp:17:51: warning: operation on ‘*(poz + ((sizetype)(((unsigned int)j) * 4u)))’ may be undefined [-Wsequence-point]
poz[i]+=poz[j]-(poz[j]=poz[i]),i++,j--;
^
user.cpp: In function ‘int main()’:
user.cpp:38:75: warning: operation on ‘poz[poz[i]]’ may be undefined [-Wsequence-point]
rez[poz[i]]=i,s++,poz[i]+=poz[poz[i]]-(poz[poz[i]]=poz[i]);
^
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egipt.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egipt.out","w",stdout);
^
user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]),poz[i]=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 248kb | Time limit exceeded. | 0 |
2 | Depăşit | 248kb | Time limit exceeded. | 0 |
3 | Depăşit | 252kb | Time limit exceeded. | 0 |
4 | Depăşit | 252kb | Time limit exceeded. | 0 |
5 | Depăşit | 256kb | Time limit exceeded. | 0 |
6 | Depăşit | 260kb | Time limit exceeded. | 0 |
7 | Depăşit | 260kb | Time limit exceeded. | 0 |
8 | Depăşit | 284kb | Time limit exceeded. | 0 |
9 | Depăşit | 312kb | Time limit exceeded. | 0 |
10 | Depăşit | 320kb | Time limit exceeded. | 0 |
Punctaj total | 0 |