Borderou de evaluare (job #1762510)
Utilizator | Data | 23 septembrie 2016 17:34:43 | |
---|---|---|---|
Problema | Oite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int calcul(int, int, int)’:
user.cpp:9:15: error: expected primary-expression before ‘)’ token
else if(x-)
^
user.cpp:10:1: error: expected primary-expression before ‘}’ token
}
^
user.cpp:10:1: error: expected ‘;’ before ‘}’ token
user.cpp: In function ‘int main()’:
user.cpp:14:13: error: expected initializer before ‘m’
int n,l m, i, j, l, c, len;
^
user.cpp:16:29: error: ‘m’ was not declared in this scope
fscanf(fi, "%d%d", &n, &m);
^
user.cpp:17:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:18:13: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:20:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:21:13: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:23:9: error: ‘i’ was not declared in this scope
for(i=1;i<=m;i++){
^
user.cpp:24:31: error: ‘l’ was not declared in this scope
fscanf(fi, "%d%d%d", &l, &c, &len);
^
user.cpp:24:35: error: ‘c’ was not declared in this scope
fscanf(fi, "%d%d%d", &l, &c, &len);
^
user.cpp:24:39: error: ‘len’ was not declared in this scope
fscanf(fi, "%d%d%d", &l, &c, &len);
^
user.cpp: In function ‘int calcul(int, int, int)’:
user.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !