Borderou de evaluare (job #1428403)
Utilizator | Data | 4 mai 2015 14:43:46 | |
---|---|---|---|
Problema | Kinetic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void A(int, int)’:
user.cpp:10:29: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator^’
d[i]^=d[j]^=d[i]^=d[j],o[i]^=o[j]^=o[i]^=o[j],q[i]^=q[j]^=q[i]^=q[j],i++,j--;
^
user.cpp:10:29: error: in evaluation of ‘operator^=(double, double)’
user.cpp: In function ‘int main()’:
user.cpp:33:24: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:33:24: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:33:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:35:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a[i],&b[i]),p[i]=i;
^
user.cpp:41:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x[i],&y[i],&z[i]),w[i]=i;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !