Borderou de evaluare (job #3172955)
Utilizator | Data | 21 noiembrie 2023 17:18:44 | |
---|---|---|---|
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:47:10: error: 'fixed' was not declared in this scope; did you mean 'std::fixed'?
47 | g << fixed<<setprecision(4)<<total;
| ^~~~~
| std::fixed
In file included from /usr/include/c++/12.2.1/ios:42,
from /usr/include/c++/12.2.1/ostream:38,
from /usr/include/c++/12.2.1/iostream:39,
from main.cpp:1:
/usr/include/c++/12.2.1/bits/ios_base.h:1080:3: note: 'std::fixed' declared here
1080 | fixed(ios_base& __base)
| ^~~~~
main.cpp:47:17: error: 'setprecision' was not declared in this scope
47 | g << fixed<<setprecision(4)<<total;
| ^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !