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_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:8:7: note: in expansion of macro 'll'
    8 | const ll inf = 0x3f3f3f3f3f3f3f3f;
      |       ^~
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:9:1: note: in expansion of macro 'll'
    9 | ll read() {
      | ^~
0_0_39588884_3561.cpp: In function 'unsigned int read()':
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:10:9: note: in expansion of macro 'll'
   10 |         ll x = 0, f = 1;
      |         ^~
0_0_39588884_3561.cpp: At global scope:
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:22:1: note: in expansion of macro 'll'
   22 | ll a[maxn];
      | ^~
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:23:1: note: in expansion of macro 'll'
   23 | ll b[maxn];
      | ^~
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:24:1: note: in expansion of macro 'll'
   24 | ll ans[maxn];
      | ^~
0_0_39588884_3561.cpp: In function 'void solve()':
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:41:49: note: in expansion of macro 'll'
   41 |                         if (b1 != b2)ans[j] += (ll)(1ll << i);
      |                                                 ^~
0_0_39588884_3561.cpp:7:13: error: duplicate 'unsigned'
    7 | #define int unsigned int
      |             ^~~~~~~~
0_0_39588884_3561.cpp:6:21: note: in expansion of macro 'int'
    6 | #define ll unsigned int
      |                     ^~~
0_0_39588884_3561.cpp:42:54: note: in expansion of macro 'll'
   42 |                         else ans[j] += (b1 != b3) * (ll)(1ll << (i+1));
      |                                                      ^~


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-09-20 12:04:32, Gzip enabled