Problem gfriendmania
User YSH2020
Submission Time 2025-03-03 12:56:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gfriendmania.cpp: In function ‘int main()’:
gfriendmania.cpp:52:18: error: ‘struct node’ has no member named ‘qry’
52 | cout << root->qry(c)-root->qry(b-1) << '\n';
| ^~~
gfriendmania.cpp:52:31: error: ‘struct node’ has no member named ‘qry’
52 | cout << root->qry(c)-root->qry(b-1) << '\n';
| ^~~