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_20982116_3445.cpp:18:28: error: stray '#' in program
         for(i = 1; i<=n; i++)
                            ^
0_0_20982116_3445.cpp:18:33: error: stray '#' in program
         for(i = 1; i<=n; i++)
                                 ^
0_0_20982116_3445.cpp:22:24: error: stray '#' in program
             if(i == lx+x[nx][0] && i == lt+t[nt][0])
                        ^
0_0_20982116_3445.cpp:22:48: error: stray '#' in program
             if(i == lx+x[nx][0] && i == lt+t[nt][0])
                                                ^
0_0_20982116_3445.cpp:26:22: error: stray '#' in program
                 lx=i+2;
                      ^
0_0_20982116_3445.cpp:27:22: error: stray '#' in program
                 lt=i+2;
                      ^
0_0_20982116_3445.cpp:28:20: error: stray '#' in program
                 nx++;
                    ^
0_0_20982116_3445.cpp:28:25: error: stray '#' in program
                 nx++;
                         ^
0_0_20982116_3445.cpp:29:20: error: stray '#' in program
                 nt++;
                    ^
0_0_20982116_3445.cpp:29:25: error: stray '#' in program
                 nt++;
                         ^
0_0_20982116_3445.cpp:31:29: error: stray '#' in program
             else if(i == lx+x[nx][0])
                             ^
0_0_20982116_3445.cpp:34:20: error: stray '#' in program
                 lt+=2;
                    ^
0_0_20982116_3445.cpp:36:20: error: stray '#' in program
                 nx++;
                    ^
0_0_20982116_3445.cpp:36:25: error: stray '#' in program
                 nx++;
                         ^
0_0_20982116_3445.cpp:38:29: error: stray '#' in program
             else if(i == lt+t[nt][0])
                             ^
0_0_20982116_3445.cpp:41:20: error: stray '#' in program
                 lx+=2;
                    ^
0_0_20982116_3445.cpp:43:20: error: stray '#' in program
                 nt++;
                    ^
0_0_20982116_3445.cpp:43:25: error: stray '#' in program
                 nt++;
                         ^
0_0_20982116_3445.cpp: In function 'int main()':
0_0_20982116_3445.cpp:18:31: error: expected ')' before ';' token
         for(i = 1; i<=n; i++)
                               ^
0_0_20982116_3445.cpp:18:34: error: lvalue required as unary '&' operand
         for(i = 1; i<=n; i++)
                                  ^
0_0_20982116_3445.cpp:18:37: error: expected primary-expression before ')' token
         for(i = 1; i<=n; i++)
                                     ^


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-29 12:52:42, Gzip enabled