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_20989575_8852.cpp:36:35: error: stray '#' in program
         printf("Case #%d: ",Case ++ );
                                   ^
0_0_20989575_8852.cpp:36:40: error: stray '#' in program
         printf("Case #%d: ",Case ++ );
                                        ^
0_0_20989575_8852.cpp:39:32: error: stray '#' in program
             for( int i=0;i<m;i++ ){
                                ^
0_0_20989575_8852.cpp:39:37: error: stray '#' in program
             for( int i=0;i<m;i++ ){
                                     ^
0_0_20989575_8852.cpp:43:22: error: stray '#' in program
                 cnt ++ ;
                      ^
0_0_20989575_8852.cpp:43:27: error: stray '#' in program
                 cnt ++ ;
                           ^
0_0_20989575_8852.cpp:49:32: error: stray '#' in program
             for( int i=0;i<m;i++ )
                                ^
0_0_20989575_8852.cpp:49:37: error: stray '#' in program
             for( int i=0;i<m;i++ )
                                     ^
0_0_20989575_8852.cpp:67:33: error: stray '#' in program
                         if( len+6<=m ){
                                 ^
0_0_20989575_8852.cpp:69:34: error: stray '#' in program
                             len += 6;
                                  ^
0_0_20989575_8852.cpp:72:37: error: stray '#' in program
                             if( len+1==m ) printf("a");
                                     ^
0_0_20989575_8852.cpp:73:42: error: stray '#' in program
                             else if( len+2==m ) printf("aa");
                                          ^
0_0_20989575_8852.cpp:74:42: error: stray '#' in program
                             else if( len+3==m ) printf("aab");
                                          ^
0_0_20989575_8852.cpp:75:42: error: stray '#' in program
                             else if( len+4==m ) printf("aaba");
                                          ^
0_0_20989575_8852.cpp:76:42: error: stray '#' in program
                             else if( len+5==m ) printf("aabab");
                                          ^
0_0_20989575_8852.cpp: In function 'int main()':
0_0_20989575_8852.cpp:36:38: error: expected ')' before ';' token
         printf("Case #%d: ",Case ++ );
                                      ^
0_0_20989575_8852.cpp:36:41: error: lvalue required as unary '&' operand
         printf("Case #%d: ",Case ++ );
                                         ^
0_0_20989575_8852.cpp:36:45: error: expected primary-expression before ')' token
         printf("Case #%d: ",Case ++ );
                                             ^
0_0_20989575_8852.cpp:39:35: error: expected ')' before ';' token
             for( int i=0;i<m;i++ ){
                                   ^
0_0_20989575_8852.cpp:39:38: error: lvalue required as unary '&' operand
             for( int i=0;i<m;i++ ){
                                      ^
0_0_20989575_8852.cpp:39:42: error: expected primary-expression before ')' token
             for( int i=0;i<m;i++ ){
                                          ^
0_0_20989575_8852.cpp:49:35: error: expected ')' before ';' token
             for( int i=0;i<m;i++ )
                                   ^
0_0_20989575_8852.cpp:49:38: error: lvalue required as unary '&' operand
             for( int i=0;i<m;i++ )
                                      ^
0_0_20989575_8852.cpp:49:42: error: expected primary-expression before ')' token
             for( int i=0;i<m;i++ )
                                          ^
0_0_20989575_8852.cpp:67:36: error: expected ')' before ';' token
                         if( len+6<=m ){
                                    ^
0_0_20989575_8852.cpp:67:42: error: expected ';' before ')' token
                         if( len+6<=m ){
                                          ^
0_0_20989575_8852.cpp:71:25: error: 'else' without a previous 'if'
                         else {
                         ^
0_0_20989575_8852.cpp:72:40: error: expected ')' before ';' token
                             if( len+1==m ) printf("a");
                                        ^
0_0_20989575_8852.cpp:72:46: error: expected ';' before ')' token
                             if( len+1==m ) printf("a");
                                              ^
0_0_20989575_8852.cpp:73:29: error: 'else' without a previous 'if'
                             else if( len+2==m ) printf("aa");
                             ^
0_0_20989575_8852.cpp:73:45: error: expected ')' before ';' token
                             else if( len+2==m ) printf("aa");
                                             ^
0_0_20989575_8852.cpp:73:51: error: expected ';' before ')' token
                             else if( len+2==m ) printf("aa");
                                                   ^
0_0_20989575_8852.cpp:74:29: error: 'else' without a previous 'if'
                             else if( len+3==m ) printf("aab");
                             ^
0_0_20989575_8852.cpp:74:45: error: expected ')' before ';' token
                             else if( len+3==m ) printf("aab");
                                             ^
0_0_20989575_8852.cpp:74:51: error: expected ';' before ')' token
                             else if( len+3==m ) printf("aab");
                                                   ^
0_0_20989575_8852.cpp:75:29: error: 'else' without a previous 'if'
                             else if( len+4==m ) printf("aaba");
                             ^
0_0_20989575_8852.cpp:75:45: error: expected ')' before ';' token
                             else if( len+4==m ) printf("aaba");
                                             ^
0_0_20989575_8852.cpp:75:51: error: expected ';' before ')' token
                             else if( len+4==m ) printf("aaba");
                                                   ^
0_0_20989575_8852.cpp:76:29: error: 'else' without a previous 'if'
                             else if( len+5==m ) printf("aabab");
                             ^
0_0_20989575_8852.cpp:76:45: error: expected ')' before ';' token
                             else if( len+5==m ) printf("aabab");
                                             ^
0_0_20989575_8852.cpp:76:51: error: expected ';' before ')' token
                             else if( len+5==m ) printf("aabab");
                                                   ^
0_0_20989575_8852.cpp:77:29: error: 'else' without a previous 'if'
                             else printf("aababb");
                             ^


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-26 06:40:41, Gzip enabled