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_22226804_23888.cpp: In function 'int main()':
0_0_22226804_23888.cpp:24:18: error: expected primary-expression before ';' token
            for(i=;i<=d;i++)
                  ^
0_0_22226804_23888.cpp:26:24: error: invalid type argument of unary '*' (have 'double')
                 if(t1+*time1<t2+*time2||t2==0) 
                        ^
0_0_22226804_23888.cpp:26:34: error: invalid type argument of unary '*' (have 'double')
                 if(t1+*time1<t2+*time2||t2==0) 
                                  ^
0_0_22226804_23888.cpp:28:27: error: invalid type argument of unary '*' (have 'double')
                      t1+=*time1;
                           ^
0_0_22226804_23888.cpp:31:29: error: invalid type argument of unary '*' (have 'double')
                 else if(t2+*time2<t1+*time1) 
                             ^
0_0_22226804_23888.cpp:31:39: error: invalid type argument of unary '*' (have 'double')
                 else if(t2+*time2<t1+*time1) 
                                       ^
0_0_22226804_23888.cpp:33:27: error: invalid type argument of unary '*' (have 'double')
                      t2+=*time2;
                           ^
0_0_22226804_23888.cpp:38:25: error: invalid type argument of unary '*' (have 'double')
            while(len1>=*s) len1-=*s;
                         ^
0_0_22226804_23888.cpp:38:35: error: invalid type argument of unary '*' (have 'double')
            while(len1>=*s) len1-=*s;
                                   ^
0_0_22226804_23888.cpp:40:23: error: invalid type argument of unary '*' (have 'double')
                 len1=*s-len1;
                       ^


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.000000(s) query 1, Server time : 2025-01-09 01:51:20, Gzip enabled