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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:9,
                 from 0_0_15135450_21644.cpp:6:
0_0_15135450_21644.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:9:1: note: in expansion of macro 'll'
 ll T;
 ^
0_0_15135450_21644.cpp:7:13: error: expected ')' before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:9:1: note: in expansion of macro 'll'
 ll T;
 ^
0_0_15135450_21644.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:10:1: note: in expansion of macro 'll'
 ll D;
 ^
0_0_15135450_21644.cpp:7:13: error: expected ')' before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:10:1: note: in expansion of macro 'll'
 ll D;
 ^
0_0_15135450_21644.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:11:1: note: in expansion of macro 'll'
 ll s1,s2;
 ^
0_0_15135450_21644.cpp:7:13: error: expected ')' before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:11:1: note: in expansion of macro 'll'
 ll s1,s2;
 ^
0_0_15135450_21644.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:12:8: note: in expansion of macro 'll'
 inline ll low1bit(ll &x){
        ^
0_0_15135450_21644.cpp:7:13: error: expected ')' before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:12:8: note: in expansion of macro 'll'
 inline ll low1bit(ll &x){
        ^
0_0_15135450_21644.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:15:8: note: in expansion of macro 'll'
 inline ll low0bit(ll &x){
        ^
0_0_15135450_21644.cpp:7:13: error: expected ')' before 'long'
 #define ll (__int64)
             ^
0_0_15135450_21644.cpp:15:8: note: in expansion of macro 'll'
 inline ll low0bit(ll &x){
        ^
0_0_15135450_21644.cpp:8:13: error: expected unqualified-id before 'unsigned'
 #define uu (unsigned __int64)
             ^
0_0_15135450_21644.cpp:18:8: note: in expansion of macro 'uu'
 inline uu cnt1bits(uu x){
        ^
0_0_15135450_21644.cpp:8:13: error: expected ')' before 'unsigned'
 #define uu (unsigned __int64)
             ^
0_0_15135450_21644.cpp:18:8: note: in expansion of macro 'uu'
 inline uu cnt1bits(uu x){
        ^
0_0_15135450_21644.cpp: In function 'int main()':
0_0_15135450_21644.cpp:24:17: error: 'T' was not declared in this scope
  scanf("%I64d",&T);
                 ^
0_0_15135450_21644.cpp:25:5: error: 'mcase' was not declared in this scope
  ll mcase = 0;
     ^
0_0_15135450_21644.cpp:27:28: error: 'D' was not declared in this scope
   scanf("%I64d%I64d%I64d",&D,&s1,&s2);
                            ^
0_0_15135450_21644.cpp:27:31: error: 's1' was not declared in this scope
   scanf("%I64d%I64d%I64d",&D,&s1,&s2);
                               ^
0_0_15135450_21644.cpp:27:35: error: 's2' was not declared in this scope
   scanf("%I64d%I64d%I64d",&D,&s1,&s2);
                                   ^
0_0_15135450_21644.cpp:29:6: error: 'tmpcnt' was not declared in this scope
   ll tmpcnt = cnt1bits(D);
      ^
0_0_15135450_21644.cpp:29:25: error: 'cnt1bits' was not declared in this scope
   ll tmpcnt = cnt1bits(D);
                         ^
0_0_15135450_21644.cpp:32:17: error: 'low0bit' was not declared in this scope
     D+=low0bit(D);
                 ^
0_0_15135450_21644.cpp:35:17: error: 'low1bit' was not declared in this scope
     D+=low1bit(D);
                 ^


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-12-02 12:38:08, Gzip enabled