Problem sandd
User mingging1748
Submission Time 2025-01-26 21:47:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:23:27: error: ‘abs’ was not declared in this scope; did you mean ‘ans’?
23 | long long diff1 = abs(s1 - d1);
| ^~~
| ans