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_38596394_16933.cpp:4:1: error: 'll' does not name a type
 ll dp[10009][2];
 ^~
0_0_38596394_16933.cpp: In function 'int main()':
0_0_38596394_16933.cpp:18:13: error: 'dp' was not declared in this scope
      memset(dp, -0x3f, sizeof(dp));
             ^~
0_0_38596394_16933.cpp:29:3: error: 'll' was not declared in this scope
   ll tm=max(dp[m][0],dp[m][1]);
   ^~
0_0_38596394_16933.cpp:30:6: error: 'tm' is not a template
   if(tm<0) cout << "Impossible" <<'\n';
      ^~
0_0_38596394_16933.cpp:30:10: error: expected primary-expression before ')' token
   if(tm<0) cout << "Impossible" <<'\n';
          ^
0_0_38596394_16933.cpp:31:16: error: expected primary-expression before '<<' token
   else cout<<tm<<'\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-29 21:16:05, Gzip enabled