Problem dyingpolynomial
User JonahKoh
Submission Time 2025-04-30 16:45:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:12:24: error: conflicting declaration ‘int ans’
12 | int lo=1, hi=100000, ans;
| ^~~
dyingpolynomial.cpp:10:15: note: previous declaration as ‘long long int ans’
10 | ll a,b,c,d, ans=0;
| ^~~
dyingpolynomial.cpp:25:1: error: expected ‘}’ at end of input
25 | }
| ^
dyingpolynomial.cpp:6:12: note: to match this ‘{’
6 | int main() {
| ^