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_38989591_11364.cpp:5:7: error: '_int64' does not name a type
    5 | const _int64 maxn = 2e9;
      |       ^~~~~~
0_0_38989591_11364.cpp: In function 'int main()':
0_0_38989591_11364.cpp:10:17: error: '_int64' was not declared in this scope
   10 |                 _int64 dp[2010][1005] = { 0 }, a[2010] = { 0 };
      |                 ^~~~~~
0_0_38989591_11364.cpp:10:46: error: expected primary-expression before ',' token
   10 |                 _int64 dp[2010][1005] = { 0 }, a[2010] = { 0 };
      |                                              ^
0_0_38989591_11364.cpp:10:48: error: 'a' was not declared in this scope
   10 |                 _int64 dp[2010][1005] = { 0 }, a[2010] = { 0 };
      |                                                ^
0_0_38989591_11364.cpp:11:25: error: 'dp' was not declared in this scope
   11 |                 cout << dp[0][0] << endl;
      |                         ^~
0_0_38989591_11364.cpp:17:46: error: 'maxn' was not declared in this scope; did you mean 'main'?
   17 |                                 dp[i][j] = { maxn };
      |                                              ^~~~
      |                                              main


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-23 07:24:00, Gzip enabled