Borderou de evaluare (job #1859422)
Utilizator | Data | 27 ianuarie 2017 18:50:14 | |
---|---|---|---|
Problema | Partii | Status | done |
Runda | PreOJI 2017 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:1: error: expected ‘,’ or ‘;’ before ‘int’
int n,m,x,s,maxim,v[1001][1001];
^
user.cpp: In function ‘int main()’:
user.cpp:9:8: error: ‘n’ was not declared in this scope
f>>n>>m;
^
user.cpp:9:11: error: ‘m’ was not declared in this scope
f>>n>>m;
^
user.cpp:12:16: error: ‘v’ was not declared in this scope
f>>v[i][j];
^
user.cpp:17:13: error: ‘s’ was not declared in this scope
s=0;
^
user.cpp:18:13: error: ‘x’ was not declared in this scope
x=i;
^
user.cpp:21:20: error: ‘v’ was not declared in this scope
if(v[x][j]<=v[x+1][j])
^
user.cpp:29:20: error: ‘v’ was not declared in this scope
if(v[x][j]<=v[x-1][j])
^
user.cpp:37:20: error: ‘v’ was not declared in this scope
if(v[i][x]<=v[i][x+1])
^
user.cpp:45:20: error: ‘v’ was not declared in this scope
if(v[i][x]<=v[i][x-1])
^
user.cpp:50:18: error: ‘maxim’ was not declared in this scope
if(s>maxim)
^
user.cpp:54:8: error: ‘maxim’ was not declared in this scope
g<<maxim+1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !