| Problem | reciprocals |
|---|---|
| User | brat |
| Submission Time | 2025-10-04 20:16:43 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
reciprocals.cpp: In function ‘int main()’:
reciprocals.cpp:12:36: error: expected unqualified-id before ‘=’ token
12 | else if ((n % m)== 0) {for (int=0; i<n; i++) {cout << n/m << ' ';}}
| ^
reciprocals.cpp:12:36: error: expected ‘;’ before ‘=’ token
reciprocals.cpp:12:36: error: expected primary-expression before ‘=’ token
reciprocals.cpp:12:40: error: ‘i’ was not declared in this scope
12 | else if ((n % m)== 0) {for (int=0; i<n; i++) {cout << n/m << ' ';}}
| ^
reciprocals.cpp:12:43: error: expected ‘)’ before ‘;’ token
12 | else if ((n % m)== 0) {for (int=0; i<n; i++) {cout << n/m << ' ';}}
| ~ ^
| )
reciprocals.cpp:12:45: error: ‘i’ was not declared in this scope
12 | else if ((n % m)== 0) {f