Problem uniquenumbers
User P55D2K
Submission Time 2023-04-21 13:02:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp:13:11: error: expected ‘,’ or ‘...’ before ‘for’
13 | #define a for (int i = 0; i < sizeof(n); i++)
| ^~~
uniquenumbers.cpp:18:34: note: in expansion of macro ‘a’
18 | ld amt_unique(string N[], string a) {
| ^
uniquenumbers.cpp:13:25: error: expected ‘)’ before ‘;’ token
13 | #define a for (int i = 0; i < sizeof(n); i++)
| ^
uniquenumbers.cpp:18:34: note: in expansion of macro ‘a’
18 | ld amt_unique(string N[], string a) {
| ^
uniquenumbers.cpp:18:14: note: to match this ‘(’
18 | ld amt_unique(string N[], string a) {
| ^
uniquenumbers.cpp:13:27: error: ‘i’ does not name a type
13 | #define a for (int i = 0; i < sizeof(n); i++)
| ^
uniquenumbers.cpp:18:34: note: in expansion of macro ‘a’
18 | ld amt_unique(strin