Problem duckhunt0
User AlphanumericUsername
Submission Time 2025-01-05 14:45:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt0.cpp: In function ‘void duckhunt9()’:
duckhunt0.cpp:511:14: error: conversion from ‘node2’ to non-scalar type ‘node’ requested
511 | node root = node2(1, n); // yes n is inclusive and 0 is exclusive
| ^~~~~~~~~~~
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:520:16: error: ‘struct node’ has no member named ‘upd’; did you mean ‘up’?
520 | if (t1) root.upd(t1, t2);
| ^~~
| up
duckhunt0.cpp:521:21: error: ‘struct node’ has no member named ‘vb’; did you mean ‘v’?
521 | cout << cs - root.vb << "\n";
| ^~
| v