Problem | dynamicdiameter |
---|---|
User | Pan |
Submission Time | 2024-08-19 22:59:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dynamicdiameter.cpp: In function ‘int main()’:
dynamicdiameter.cpp:7:11: error: request for member ‘second’ in ‘u’, which is of non-class type ‘ll’ {aka ‘long long int’}
7 | #define s second
| ^~~~~~
dynamicdiameter.cpp:213:43: note: in expansion of macro ‘s’
213 | for (ll i=0; i<n-1; ++i) set_weight(i, u.s);
| ^