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_33272020_22593.cpp: In function 'int main()':
0_0_33272020_22593.cpp:44:20: error: 'i' was not declared in this scope
                 if(i&(1<<j))
                    ^
0_0_33272020_22593.cpp:44:26: error: 'j' was not declared in this scope
                 if(i&(1<<j))
                          ^
0_0_33272020_22593.cpp:45:22: error: lvalue required as increment operand
                     p++os;
                      ^
0_0_33272020_22593.cpp:47:23: error: 'i' was not declared in this scope
                 if(dp[i][j]!=-INF)
                       ^
0_0_33272020_22593.cpp:55:42: error: invalid types 'int [18][<unresolved overloaded function type>]' for array subscript
             checkmax(ret,dp[(1<<n)-1][end]);
                                          ^


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-17 07:31:30, Gzip enabled