Pagini recente » Borderou de evaluare (job #2620360) | Borderou de evaluare (job #2601716) | Borderou de evaluare (job #1106452) | Borderou de evaluare (job #1127834) | Borderou de evaluare (job #1520580)
Borderou de evaluare (job #1520580)
Raport evaluator
Compilare:
user.cpp: In function ‘void qsort(int*, int*, int, int)’:
user.cpp:17: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:18: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:42: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:28: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:29: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:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:36: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 | 356kb | Time limit exceeded. | 0 |
2 | Depăşit | 364kb | Time limit exceeded. | 0 |
3 | Depăşit | 364kb | Time limit exceeded. | 0 |
4 | Depăşit | 364kb | Time limit exceeded. | 0 |
5 | Depăşit | 360kb | Time limit exceeded. | 0 |
6 | Depăşit | 364kb | Time limit exceeded. | 0 |
7 | Depăşit | 364kb | Time limit exceeded. | 0 |
8 | Depăşit | 360kb | Time limit exceeded. | 0 |
9 | Depăşit | 360kb | Time limit exceeded. | 0 |
10 | Depăşit | 364kb | Time limit exceeded. | 0 |
Punctaj total | 0 |