Borderou de evaluare (job #1353090)
Utilizator | Data | 21 februarie 2015 13:39:24 | |
---|---|---|---|
Problema | Por Costel si Bujor | Status | done |
Runda | ONIS 2015, Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:62:23: error: redefinition of ‘double X [1010]’
double Y[MAXN],X[MAXN];
^
user.cpp:10:8: error: ‘double X [1010]’ previously declared here
double X[MAXN];
^
user.cpp: In function ‘int main()’:
user.cpp:73:25: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=]
scanf("%d%d", &N);
^
user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bujor.in", "r", stdin);
^
user.cpp:68:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bujor.out", "w", stdout);
^
user.cpp:70:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &T);
^
user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N);
^
user.cpp:77:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf", &B[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !