Borderou de evaluare (job #3181151)
Utilizator | Data | 6 decembrie 2023 16:17:04 | |
---|---|---|---|
Problema | Cablaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:45:11: error: 'fixed' was not declared in this scope; did you mean 'std::fixed'?
45 | cout<<fixed<<setprecision(3)<<total;
| ^~~~~
| std::fixed
In file included from /usr/include/c++/12.2.1/ios:42,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/fstream:38,
from main.cpp:2:
/usr/include/c++/12.2.1/bits/ios_base.h:1080:3: note: 'std::fixed' declared here
1080 | fixed(ios_base& __base)
| ^~~~~
main.cpp:45:18: error: 'setprecision' was not declared in this scope; did you mean 'std::setprecision'?
45 | cout<<fixed<<setprecision(3)<<total;
| ^~~~~~~~~~~~
| std::setprecision
In file included from main.cpp:4:
/usr/include/c++/12.2.1/iomanip:195:3: note: 'std::setprecision' declared here
195 | setprecision(int __n)
| ^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !