Problem thumper2
User jamestan
Submission Time 2025-04-03 16:03:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

thumper2.cpp: In function ‘int main()’:
thumper2.cpp:47:49: error: request for member ‘first’ in ‘ans[i]’, which is of non-class type ‘long long int’
47 | cout << 1 << ' ' << ans[i] + ans[i].first << '\n';
| ^~~~~