Problem mathexam
User Mashulyong
Submission Time 2024-01-19 14:50:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathexam.cpp: In function ‘int main()’:
mathexam.cpp:22:26: error: ‘setprecision’ was not declared in this scope
22 | cout << fixed << setprecision(1) << static_cast<float>(sum) / 2 << endl;
| ^~~~~~~~~~~~