Problem cards
User j0ashhh
Submission Time 2026-01-31 20:18:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
cards.cpp: In function ‘int main()’:
cards.cpp:33:23: error: could not convert ‘arr’ from ‘vector<long long int>’ to ‘vector<int>’
33 | long long right = r(arr, i);
| ^~~
| |
| vector<long long int>