Borderou de evaluare (job #1832551)
Utilizator | Data | 20 decembrie 2016 12:35:01 | |
---|---|---|---|
Problema | G2 | 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 f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
user.cpp:2:21: error: ‘ofstream’ does not name a type
ifstream f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
user.cpp:2:51: error: ‘string’ does not name a type
ifstream f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
user.cpp: In function ‘int main()’:
user.cpp:2:71: error: ‘f’ is not a member of ‘std’
ifstream f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
user.cpp:2:113: error: ‘x’ was not declared in this scope
ifstream f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
user.cpp:2:124: error: ‘g’ is not a member of ‘std’
ifstream f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
user.cpp:2:132: error: ‘x’ was not declared in this scope
ifstream f("g2.in");ofstream g("g2.out");int n,i; string x;int main(){std::f>>n;for(i=9; i>1; i--)while(n%i==0){x+=i;n/=i;}std::g<<x;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !