Problem | duckhunt0 |
---|---|
User | AlphanumericUsername |
Submission Time | 2025-01-05 14:45:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt0.cpp: In constructor ‘node2::node2(long long int, long long int)’:
duckhunt0.cpp:487:20: error: ‘a’ was not declared in this scope
487 | sfm = rs = vb = a[s];
| ^
duckhunt0.cpp: In function ‘void duckhunt9()’:
duckhunt0.cpp:508:9: error: ‘n’ was not declared in this scope
508 | cin >> n >> q;
| ^
duckhunt0.cpp:508:14: error: ‘q’ was not declared in this scope
508 | cin >> n >> q;
| ^
duckhunt0.cpp:510:22: error: ‘a’ was not declared in this scope
510 | iloop(0, n) {cin >> a[i]; cs += a[i] * (i+1);}
| ^
duckhunt0.cpp:512:20: error: ‘struct node’ has no member named ‘vb’; did you mean ‘v’?
512 | cout << cs - root.vb << "\n";
| ^~
| v
duckhunt0.cpp:518:15: error: ‘a’ was not declared in this scope
518 | cs += (t2 - a[t1]) * (t1+1