Borderou de evaluare (job #2095461)
Utilizator | Data | 27 decembrie 2017 16:03:50 | |
---|---|---|---|
Problema | Triplet | 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("triplet.in");ofstream t("triplet.out");int main(){int n;f>>n;t<<n/2+1<<" -"<<n/2<<" -"<<1-n%2;return 0;}
^
user.cpp:2:26: error: ‘ofstream’ does not name a type
ifstream f("triplet.in");ofstream t("triplet.out");int main(){int n;f>>n;t<<n/2+1<<" -"<<n/2<<" -"<<1-n%2;return 0;}
^
user.cpp: In function ‘int main()’:
user.cpp:2:69: error: ‘f’ was not declared in this scope
ifstream f("triplet.in");ofstream t("triplet.out");int main(){int n;f>>n;t<<n/2+1<<" -"<<n/2<<" -"<<1-n%2;return 0;}
^
user.cpp:2:74: error: ‘t’ was not declared in this scope
ifstream f("triplet.in");ofstream t("triplet.out");int main(){int n;f>>n;t<<n/2+1<<" -"<<n/2<<" -"<<1-n%2;return 0;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !