Problem amicablecats
User Hytoh
Submission Time 2024-01-15 15:49:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

amicablecats.cpp: In function ‘int main()’:
amicablecats.cpp:22:21: error: expected unqualified-id before ‘=’ token
22 | for (long long int = 2; i <= sqrt(result); i++) {
| ^
amicablecats.cpp:22:20: error: expected ‘;’ before ‘=’ token
22 | for (long long int = 2; i <= sqrt(result); i++) {
| ^~
| ;
amicablecats.cpp:22:21: error: expected primary-expression before ‘=’ token
22 | for (long long int = 2; i <= sqrt(result); i++) {
| ^
amicablecats.cpp:22:26: error: ‘i’ was not declared in this scope
22 | for (long long int = 2; i <= sqrt(result); i++) {
| ^
amicablecats.cpp:22:43: error: expected ‘)’ before ‘;’ token
22 | for (long long int = 2; i <= sqrt(result); i++) {
| ~ ^
| )