Borderou de evaluare (job #1743946)
| Utilizator | Data | 18 august 2016 23:25:20 | |
|---|---|---|---|
| Problema | Ben | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:6:7: error: ‘Nmax’ was not declared in this scope
int w[Nmax];
^
user.cpp: In function ‘void add(int, int)’:
user.cpp:17:22: error: ‘Nmax’ was not declared in this scope
for (i = x; i <= Nmax - 5; i += zeros(i) )
^
user.cpp: In function ‘int main()’:
user.cpp:35:11: error: ‘w’ was not declared in this scope
++w[a];
^
user.cpp:38:22: error: ‘Nmax’ was not declared in this scope
for (i = 1; i <= Nmax - 5; ++i)
^
user.cpp:45:22: error: ‘Nmax’ was not declared in this scope
for (i = 1; i <= Nmax - 5; ++ i)
^
user.cpp:47:34: error: ‘w’ was not declared in this scope
for (j = sol - (val[i] - w[i]) - w[i] + 1; j <= sol - (val[i] - w[i]); ++j)
^
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("ben.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("ben.out", "w", stdout);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:33:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
