Borderou de evaluare (job #1816266)
Utilizator | Data | 26 noiembrie 2016 12:10:30 | |
---|---|---|---|
Problema | Triunghi5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream out("triunghi.out")
^
user.cpp: In function ‘int main()’:
user.cpp:9:9: error: ‘v’ was not declared in this scope
in>>v;
^
user.cpp:13:13: error: ‘n’ was not declared in this scope
in>>n>>k>>s[1];
^
user.cpp:13:16: error: ‘k’ was not declared in this scope
in>>n>>k>>s[1];
^
user.cpp:13:19: error: ‘s’ was not declared in this scope
in>>n>>k>>s[1];
^
user.cpp:14:9: error: ‘mini’ was not declared in this scope
mini=s[1];
^
user.cpp:15:13: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++)
^
user.cpp:20:9: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:21:9: error: ‘s1’ was not declared in this scope
s1[1]=mini;
^
user.cpp:22:9: error: ‘out’ was not declared in this scope
out<<s1[1];
^
user.cpp:25:13: error: ‘i’ was not declared in this scope
for(i=3;i<=k;i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !