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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-26 02:43:54, Gzip enabled