Problem amicablecats
User Batigol
Submission Time 2026-03-24 09:44:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

amicablecats.cpp: In function ‘int main()’:
amicablecats.cpp:30:23: error: ‘n’ was not declared in this scope
30 | for(ll i = 2; i*i <= n; i++){
| ^
amicablecats.cpp:45:13: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
45 | if(sum2 == n && sum != n) cout << sum;
| ^
| yn