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_38574355_18683.cpp:6:19: error: expected initializer before 'long'
 long long t_along long,t_me;
                   ^~~~
0_0_38574355_18683.cpp: In function 'int main()':
0_0_38574355_18683.cpp:43:9: error: 't_along' was not declared in this scope
         t_along long=0;
         ^~~~~~~
0_0_38574355_18683.cpp:43:9: note: suggested alternative: 'long'
         t_along long=0;
         ^~~~~~~
         long
0_0_38574355_18683.cpp:44:9: error: 't_me' was not declared in this scope
         t_me=0;
         ^~~~
0_0_38574355_18683.cpp:44:9: note: suggested alternative: 'tm'
         t_me=0;
         ^~~~
         tm
0_0_38574355_18683.cpp:72:24: error: expected ';' before 'long'
                 t_along long=(long long)t_along long+(w-1-pos + 1);
                        ^~~~~
                        ;
0_0_38574355_18683.cpp:76:24: error: expected ')' before 'long'
         cout<<((t_along long-t_me)>>1)<<endl;
                ~       ^~~~~
                        )
0_0_38574355_18683.cpp:76:45: error: expected ')' before ';' token
         cout<<((t_along long-t_me)>>1)<<endl;
               ~                             ^
                                             )


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:55:01, Gzip enabled