Problem mathexam
User Josh28acc2
Submission Time 2024-01-23 18:24:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathexam.cpp: In function ‘void solve()’:
mathexam.cpp:70:9: error: expected primary-expression before ‘}’ token
70 | } else if (bruh == '|') {
| ^
mathexam.cpp:72:30: error: ‘llsetprecision’ was not declared in this scope
72 | cout << fixed << llsetprecision(2) << ans << "\n";
| ^~~~~~~~~~~~~~
mathexam.cpp:80:25: error: ‘sus’ was not declared in this scope
80 | ld ans1 = (-sus + sqrt(discriminant))/(2*a);
| ^~~
mathexam.cpp:82:30: error: ‘llsetprecision’ was not declared in this scope
82 | cout << fixed << llsetprecision(2) << max(ans1, ans2) << "\n";
| ^~~~~~~~~~~~~~