Borderou de evaluare (job #2046069)
Utilizator | Data | 23 octombrie 2017 13:15:13 | |
---|---|---|---|
Problema | Inel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream fin("inel.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream fout("inel.out");
^
user.cpp:5:21: error: ‘c’ does not name a type
int n, i, j, s[20]; c[200], st;
^
user.cpp: In function ‘void f(int)’:
user.cpp:10:13: error: ‘fout’ was not declared in this scope
fout<<s[a]<<" ";
^
user.cpp:12:9: error: ‘fout’ was not declared in this scope
fout<<"\n";
^
user.cpp:15:16: error: ‘c’ was not declared in this scope
if(c[a+s[k]]==1 && cont){
^
user.cpp:15:32: error: ‘cont’ was not declared in this scope
if(c[a+s[k]]==1 && cont){
^
user.cpp: In function ‘int main()’:
user.cpp:25:5: error: ‘fin’ was not declared in this scope
fin>>n;
^
user.cpp:28:12: error: ‘c’ was not declared in this scope
if(c[i]==0){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !