Problem | bridges_apio19 |
---|---|
User | Pan |
Submission Time | 2024-04-30 23:57:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bridges_apio19.cpp:35:1: error: expected ‘,’ or ‘;’ before ‘ll’
35 | ll n, m, q, counter;
| ^~
bridges_apio19.cpp: In function ‘void init()’:
bridges_apio19.cpp:52:18: error: ‘n’ was not declared in this scope
52 | for (ll i=1; i<=n; ++i) par[i] = i;
| ^
bridges_apio19.cpp:53:18: error: ‘n’ was not declared in this scope
53 | fill(siz+1, siz+n+1, 1);
| ^
bridges_apio19.cpp: In function ‘void unite(ll, ll)’:
bridges_apio19.cpp:71:2: error: ‘counter’ was not declared in this scope
71 | counter++;
| ^~~~~~~
bridges_apio19.cpp: In function ‘int main()’:
bridges_apio19.cpp:94:9: error: ‘n’ was not declared in this scope
94 | input2(n, m);
| ^
bridges_apio19.cpp:13:41: note: in definition of macro ‘input2’
13 | #define input2(x, y) scanf("%lld%lld", &x, &y);
| ^
bridges_apio19.cpp:94:12: