Problem mathexam
User Sans12345
Submission Time 2026-01-25 16:15:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathexam.cpp:22:10: error: invalid preprocessing directive #Ax
22 | #Ax^2+Bx+A-B = 0
| ^~
mathexam.cpp:25:10: error: invalid preprocessing directive #-
25 | #-Ax^2-Bx+B-A = 0
| ^
mathexam.cpp:26:10: error: invalid preprocessing directive #d
26 | #d = B^2-4*(-A)(B-A) = B^2-4*A*(A-B)
| ^
mathexam.cpp:27:10: error: invalid preprocessing directive #B
27 | #B+sqrt(d)/2*-A
| ^
mathexam.cpp:1:1: error: ‘import’ does not name a type
1 | import sys
| ^~~~~~