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_20989566_7159.cpp:16:20: error: stray '#' in program
   cout<<"Case #"<<++tt<<": ";
                    ^
0_0_20989566_7159.cpp:16:25: error: stray '#' in program
   cout<<"Case #"<<++tt<<": ";
                         ^
0_0_20989566_7159.cpp:18:18: error: stray '#' in program
    for(i=0;i<n;i++)
                  ^
0_0_20989566_7159.cpp:18:23: error: stray '#' in program
    for(i=0;i<n;i++)
                       ^
0_0_20989566_7159.cpp:24:20: error: stray '#' in program
    for(i=0;i<n/3;i++)
                    ^
0_0_20989566_7159.cpp:24:25: error: stray '#' in program
    for(i=0;i<n/3;i++)
                         ^
0_0_20989566_7159.cpp:34:18: error: stray '#' in program
     for(i=0;i<(n+1)/2;i++)
                  ^
0_0_20989566_7159.cpp:34:29: error: stray '#' in program
     for(i=0;i<(n+1)/2;i++)
                             ^
0_0_20989566_7159.cpp:34:34: error: stray '#' in program
     for(i=0;i<(n+1)/2;i++)
                                  ^
0_0_20989566_7159.cpp:36:21: error: stray '#' in program
     for(i=0;i<n/2;i++)
                     ^
0_0_20989566_7159.cpp:36:26: error: stray '#' in program
     for(i=0;i<n/2;i++)
                          ^
0_0_20989566_7159.cpp:48:21: error: stray '#' in program
     for(i=0;i<n/6;i++)
                     ^
0_0_20989566_7159.cpp:48:26: error: stray '#' in program
     for(i=0;i<n/6;i++)
                          ^
0_0_20989566_7159.cpp: In function 'int main()':
0_0_20989566_7159.cpp:16:21: error: lvalue required as unary '&' operand
   cout<<"Case #"<<++tt<<": ";
                     ^
0_0_20989566_7159.cpp:16:26: error: lvalue required as unary '&' operand
   cout<<"Case #"<<++tt<<": ";
                          ^
0_0_20989566_7159.cpp:16:33: error: invalid operands of types 'int' and 'const char [3]' to binary 'operator<<'
   cout<<"Case #"<<++tt<<": ";
                                 ^
0_0_20989566_7159.cpp:18:21: error: expected ')' before ';' token
    for(i=0;i<n;i++)
                     ^
0_0_20989566_7159.cpp:18:24: error: lvalue required as unary '&' operand
    for(i=0;i<n;i++)
                        ^
0_0_20989566_7159.cpp:18:27: error: expected primary-expression before ')' token
    for(i=0;i<n;i++)
                           ^
0_0_20989566_7159.cpp:24:23: error: expected ')' before ';' token
    for(i=0;i<n/3;i++)
                       ^
0_0_20989566_7159.cpp:24:26: error: lvalue required as unary '&' operand
    for(i=0;i<n/3;i++)
                          ^
0_0_20989566_7159.cpp:24:29: error: expected primary-expression before ')' token
    for(i=0;i<n/3;i++)
                             ^
0_0_20989566_7159.cpp:34:21: error: expected ')' before ';' token
     for(i=0;i<(n+1)/2;i++)
                     ^
0_0_20989566_7159.cpp:34:24: error: expected primary-expression before '/' token
     for(i=0;i<(n+1)/2;i++)
                        ^
0_0_20989566_7159.cpp:34:35: error: lvalue required as unary '&' operand
     for(i=0;i<(n+1)/2;i++)
                                   ^
0_0_20989566_7159.cpp:34:38: error: expected primary-expression before ')' token
     for(i=0;i<(n+1)/2;i++)
                                      ^
0_0_20989566_7159.cpp:36:24: error: expected ')' before ';' token
     for(i=0;i<n/2;i++)
                        ^
0_0_20989566_7159.cpp:36:27: error: lvalue required as unary '&' operand
     for(i=0;i<n/2;i++)
                           ^
0_0_20989566_7159.cpp:36:30: error: expected primary-expression before ')' token
     for(i=0;i<n/2;i++)
                              ^
0_0_20989566_7159.cpp:48:24: error: expected ')' before ';' token
     for(i=0;i<n/6;i++)
                        ^
0_0_20989566_7159.cpp:48:27: error: lvalue required as unary '&' operand
     for(i=0;i<n/6;i++)
                           ^
0_0_20989566_7159.cpp:48:30: error: expected primary-expression before ')' token
     for(i=0;i<n/6;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 21:58:13, Gzip enabled