Borderou de evaluare (job #2755423)
Utilizator | Data | 27 mai 2021 10:48:29 | |
---|---|---|---|
Problema | Tort2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:10: error: 'n' was not declared in this scope
cin>>n>>m>>k;
^
main.cpp:7:13: error: 'm' was not declared in this scope
cin>>n>>m>>k;
^
main.cpp:7:16: error: 'k' was not declared in this scope
cin>>n>>m>>k;
^
main.cpp:8:9: error: 'i' was not declared in this scope
for(i=1; i<=n; i++)
^
main.cpp:9:9: error: 'j' was not declared in this scope
for(j=1; j<=m; j++){
^
main.cpp:10:18: error: 'x' was not declared in this scope
cin>>x;
^
main.cpp:11:5: error: 's' was not declared in this scope
s[i][j]=s[i][j-1]+s[i-1][j]-s[i-1][j-1]+x;
^
main.cpp:13:5: error: 'sum' was not declared in this scope
sum=s[n][m];
^~~
main.cpp:13:9: error: 's' was not declared in this scope
sum=s[n][m];
^
main.cpp:14:9: error: 'nord' was not declared in this scope
for(nord=1; nord<=k; nord++)
^~~~
main.cpp:15:17: error: 'vest' was not declared in this scope
for(vest=1; vest<=k-nord; vest++)
^~~~
main.cpp:16:25: error: 'est' was not declared in this scope
for(est=1; est<=k-nord-vest; est++)
^~~
main.cpp:18:9: error: 'sud' was not declared in this scope
sud=k-est-vest-nord;
^~~
main.cpp:19:9: error: 'x' was not declared in this scope
x=1+nord;
^
main.cpp:20:9: error: 'x1' was not declared in this scope
x1=1+vest;
^~
main.cpp:21:9: error: 'x2' was not declared in this scope
x2=n-sud;
^~
main.cpp:22:9: error: 'x3' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !