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_36173282_12166.cpp: In function 'int main()':
0_0_36173282_12166.cpp:26:25: error: expected primary-expression before '<' token
    for(j=n-1;j>=0;j--){ <span style="font-size:10px;"> //这里之所以逆序,是因为输出要按字典顺序,在这里 i-1<< j 通过j到达i状态,那么 i - 1<< j 一定比 j 先计算.其实就是 j 是后到达的.这个要自己悟.不好描述.</span>
                         ^
0_0_36173282_12166.cpp:26:26: error: 'span' was not declared in this scope
    for(j=n-1;j>=0;j--){ <span style="font-size:10px;"> //这里之所以逆序,是因为输出要按字典顺序,在这里 i-1<< j 通过j到达i状态,那么 i - 1<< j 一定比 j 先计算.其实就是 j 是后到达的.这个要自己悟.不好描述.</span>
                          ^
0_0_36173282_12166.cpp:28:10: error: 'step' was not declared in this scope
     if(!(step&i)) continue;  //如果 i 状态的 j 号作业没做,那么不可能通过做 j 号作业达到 i 状态.
          ^
0_0_36173282_12166.cpp:29:19: error: 'step' was not declared in this scope
     int score=t[i-step]+fin_t[j]-all_t[j];
                   ^


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-09-29 05:26:23, Gzip enabled