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_14026874_12991.cpp:3:12: error: '_int64' does not name a type
 #define LL _int64
            ^
0_0_14026874_12991.cpp:4:1: note: in expansion of macro 'LL'
 LL dp[X][X/2];
 ^
0_0_14026874_12991.cpp:3:12: error: '_int64' was not declared in this scope
 #define LL _int64
            ^
0_0_14026874_12991.cpp:7:13: note: in expansion of macro 'LL'
 int get_bit(LL);
             ^
0_0_14026874_12991.cpp:3:12: error: '_int64' does not name a type
 #define LL _int64
            ^
0_0_14026874_12991.cpp:8:1: note: in expansion of macro 'LL'
 LL get_ans(LL);
 ^
0_0_14026874_12991.cpp: In function 'int main()':
0_0_14026874_12991.cpp:3:12: error: '_int64' was not declared in this scope
 #define LL _int64
            ^
0_0_14026874_12991.cpp:17:4: note: in expansion of macro 'LL'
    LL n;
    ^
0_0_14026874_12991.cpp:18:20: error: 'n' was not declared in this scope
    scanf("%I64d", &n);
                    ^
0_0_14026874_12991.cpp:19:37: error: 'get_ans' was not declared in this scope
    printf("%I64d\n", n+1-get_ans(n+1));
                                     ^
0_0_14026874_12991.cpp: In function 'void init()':
0_0_14026874_12991.cpp:28:4: error: 'dp' was not declared in this scope
    dp[i][j] = 0;
    ^
0_0_14026874_12991.cpp:29:2: error: 'dp' was not declared in this scope
  dp[0][0] = 1;
  ^
0_0_14026874_12991.cpp: At global scope:
0_0_14026874_12991.cpp:3:12: error: redefinition of 'int get_bit'
 #define LL _int64
            ^
0_0_14026874_12991.cpp:36:13: note: in expansion of macro 'LL'
 int get_bit(LL n)
             ^
0_0_14026874_12991.cpp:7:5: note: 'int get_bit' previously defined here
 int get_bit(LL);
     ^
0_0_14026874_12991.cpp:3:12: error: '_int64' was not declared in this scope
 #define LL _int64
            ^
0_0_14026874_12991.cpp:36:13: note: in expansion of macro 'LL'
 int get_bit(LL n)
             ^


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-11-28 06:37:39, Gzip enabled