Problem stonk
User Hijackedsoul
Submission Time 2024-05-30 11:20:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stonk.cpp: In function ‘int main()’:
stonk.cpp:16:20: error: ‘temp’ was not declared in this scope
16 | if(arr[i].second>temp){
| ^~~~
stonk.cpp:19:21: error: ‘temp’ was not declared in this scope
19 | ans+=arr[i].first*temp;
| ^~~~