Borderou de evaluare (job #1324629)
Utilizator | Data | 22 ianuarie 2015 16:44:58 | |
---|---|---|---|
Problema | BMatrix | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:13: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("bmatrix.in");
^
user.cpp:5:14: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("bmatrix.out");
^
user.cpp:6:29: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:6:35: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:6:38: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:6:44: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:6:47: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:6:53: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:6:56: error: ‘N’ was not declared in this scope
int vf, n, m, i, j, sol, st[N], a[N][N], r[N][N], l[N][N];
^
user.cpp:7:8: error: ‘N’ was not declared in this scope
char s[N];
^
user.cpp: In function ‘int Drept1(int, int)’:
user.cpp:14:22: error: ‘r’ was not declared in this scope
sol=max(sol,(r[i][j]-l[i][j]-1)*min(a[i][j],i-p1+1));
^
user.cpp:14:30: error: ‘l’ was not declared in this scope
sol=max(sol,(r[i][j]-l[i][j]-1)*min(a[i][j],i-p1+1));
^
user.cpp:14:45: error: ‘a’ was not declared in this scope
sol=max(sol,(r[i][j]-l[i][j]-1)*min(a[i][j],i-p1+1));
^
user.cpp: In function ‘int Drept2(int, int)’:
user.cpp:24:26: error: ‘r’ was not declared in this scope
sol=max(sol,(min(r[i][j],p2+1)-max(l[i][j],p1-1)-1)*a[i][j]);
^
user.cpp:24:44: error: ‘l’ was not declared in this scope
sol=max(sol,(min(r[i][j],p2+1)-max(l[i][j],p1-1)-1)*a[i][j]);
^
user.cpp:24:61: error: ‘a’ was not declared in this scope
sol=max(sol,(min(r[i][j],p2+1)-max(l[i][j],p1-1)-1)*a[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !