F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39331401_7224.cpp: In function 'void insert(long long int, long long int)':
0_0_39331401_7224.cpp:39:24: error: 'amp' was not declared in this scope
   39 |                 if (nm&(1 << i))
      |                        ^~~
0_0_39331401_7224.cpp: In function 'void change(long long int, long long int, long long int)':
0_0_39331401_7224.cpp:78:47: error: 'amp' was not declared in this scope
   78 |                 idx = trie[idx][bool((1 << i)&nm)];
      |                                               ^~~
0_0_39331401_7224.cpp:78:50: error: expected ']' before ';' token
   78 |                 idx = trie[idx][bool((1 << i)&nm)];
      |                                                  ^
      |                                                  ]
0_0_39331401_7224.cpp:78:53: error: expected ';' before ')' token
   78 |                 idx = trie[idx][bool((1 << i)&nm)];
      |                                                     ^
      |                                                     ;
0_0_39331401_7224.cpp: In function 'long long int ex(long long int, long long int)':
0_0_39331401_7224.cpp:94:30: error: 'amp' was not declared in this scope
   94 |                 if ((1 << i)&x)
      |                              ^~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-05-20 13:04:49, Gzip enabled