Problem sandd
User TheInvadr
Submission Time 2023-12-14 22:06:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:13:13: error: invalid type argument of unary ‘*’ (have ‘long long int’)
13 | if(*sup==*demand)return m;
| ^~~
sandd.cpp:14:13: error: invalid type argument of unary ‘*’ (have ‘long long int’)
14 | if(*sup>=*demand)e=m-1;
| ^~~