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_17419923_20848.cpp: In function 'int main()':
0_0_17419923_20848.cpp:16:45: error: expected ')' before 'i'
  for(i=0;i<nstick;++i) scanf("%d%d",&sticks i .l,&sticks i .w);
                                             ^
0_0_17419923_20848.cpp:16:58: error: expected ')' before 'i'
  for(i=0;i<nstick;++i) scanf("%d%d",&sticks i .l,&sticks i .w);
                                                          ^
0_0_17419923_20848.cpp:19:5: error: invalid conversion from 'LWPair*' to 'int' [-fpermissive]
  tmp=sticks i .w;
     ^
0_0_17419923_20848.cpp:19:13: error: expected ';' before 'i'
  tmp=sticks i .w;
             ^
0_0_17419923_20848.cpp:20:27: error: expected ';' before 'j'
  for(j=time;j>=0 && store j>=tmp;--j) ; // search from right to left
                           ^
0_0_17419923_20848.cpp:20:33: error: expected ')' before ';' token
  for(j=time;j>=0 && store j>=tmp;--j) ; // search from right to left
                                 ^
0_0_17419923_20848.cpp:20:37: error: expected ';' before ')' token
  for(j=time;j>=0 && store j>=tmp;--j) ; // search from right to left
                                     ^


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-30 05:30:41, Gzip enabled