Borderou de evaluare (job #2059710)
Utilizator | Data | 7 noiembrie 2017 15:31:10 | |
---|---|---|---|
Problema | Prefix | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:15: error: conflicting declaration ‘std::ofstream f’
ofstream f("prefix.out");
^
user.cpp:12:14: error: ‘f’ has a previous declaration as ‘std::ifstream f’
ifstream f("prefix.in");
^
user.cpp:21:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<=strlen(s+1);i++)
^
user.cpp:33:17: error: ‘g’ was not declared in this scope
g<<j<<endl;
^
user.cpp:37:13: error: ‘g’ was not declared in this scope
g<<0<<endl;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !