Borderou de evaluare (job #1093089)
Utilizator | Data | 27 ianuarie 2014 18:51:13 | |
---|---|---|---|
Problema | Dreptunghi | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: expected ‘,’ or ‘;’ before ‘int’
int n, m;
^
user.cpp: In function ‘void solve()’:
user.cpp:17:11: error: ‘n’ was not declared in this scope
while(n!=1 && m!=1){
^
user.cpp:17:19: error: ‘m’ was not declared in this scope
while(n!=1 && m!=1){
^
user.cpp:25:15: error: ‘n’ was not declared in this scope
op += max(n,m);
^
user.cpp:13:18: note: in definition of macro ‘max’
#define max(a,b) a>b? a:b
^
user.cpp:25:17: error: ‘m’ was not declared in this scope
op += max(n,m);
^
user.cpp:13:20: note: in definition of macro ‘max’
#define max(a,b) a>b? a:b
^
user.cpp: In function ‘int main()’:
user.cpp:31:12: error: ‘n’ was not declared in this scope
fin >> n >> m;
^
user.cpp:31:17: error: ‘m’ was not declared in this scope
fin >> n >> m;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !