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_20964578_6596.cpp:11:19: error: stray '#' in program
     for(i=0;i<a;i++)
                   ^
0_0_20964578_6596.cpp:11:24: error: stray '#' in program
     for(i=0;i<a;i++)
                        ^
0_0_20964578_6596.cpp:12:23: error: stray '#' in program
         for(j=0;j<b;j++){
                       ^
0_0_20964578_6596.cpp:12:28: error: stray '#' in program
         for(j=0;j<b;j++){
                            ^
0_0_20964578_6596.cpp:15:16: error: stray '#' in program
     for(i=0;;i++){
                ^
0_0_20964578_6596.cpp:15:21: error: stray '#' in program
     for(i=0;;i++){
                     ^
0_0_20964578_6596.cpp:24:19: error: stray '#' in program
     for(i=0;i<M;i++)
                   ^
0_0_20964578_6596.cpp:24:24: error: stray '#' in program
     for(i=0;i<M;i++)
                        ^
0_0_20964578_6596.cpp:26:19: error: stray '#' in program
     for(i=1;i<M;i++)
                   ^
0_0_20964578_6596.cpp:26:24: error: stray '#' in program
     for(i=1;i<M;i++)
                        ^
0_0_20964578_6596.cpp:27:23: error: stray '#' in program
         for(j=1;j<M;j++){
                       ^
0_0_20964578_6596.cpp:27:28: error: stray '#' in program
         for(j=1;j<M;j++){
                            ^
0_0_20964578_6596.cpp:30:39: error: stray '#' in program
     while(scanf("%d%d",&n,&m)!=EOF&&n+m){
                                       ^
0_0_20964578_6596.cpp:32:29: error: stray '#' in program
         for(ans=0,i=0;i<n;i++){
                             ^
0_0_20964578_6596.cpp:32:34: error: stray '#' in program
         for(ans=0,i=0;i<n;i++){
                                  ^
0_0_20964578_6596.cpp:33:27: error: stray '#' in program
             for(j=0;j<m;j++){
                           ^
0_0_20964578_6596.cpp:33:32: error: stray '#' in program
             for(j=0;j<m;j++){
                                ^
0_0_20964578_6596.cpp: In function 'int getsg(int, int)':
0_0_20964578_6596.cpp:11:22: error: expected ')' before ';' token
     for(i=0;i<a;i++)
                      ^
0_0_20964578_6596.cpp:11:25: error: lvalue required as unary '&' operand
     for(i=0;i<a;i++)
                         ^
0_0_20964578_6596.cpp:11:28: error: expected primary-expression before ')' token
     for(i=0;i<a;i++)
                            ^
0_0_20964578_6596.cpp:12:29: error: lvalue required as unary '&' operand
         for(j=0;j<b;j++){
                             ^
0_0_20964578_6596.cpp:12:32: error: expected primary-expression before ')' token
         for(j=0;j<b;j++){
                                ^
0_0_20964578_6596.cpp:15:19: error: expected ')' before ';' token
     for(i=0;;i++){
                   ^
0_0_20964578_6596.cpp:15:22: error: lvalue required as unary '&' operand
     for(i=0;;i++){
                      ^
0_0_20964578_6596.cpp:15:25: error: expected primary-expression before ')' token
     for(i=0;;i++){
                         ^
0_0_20964578_6596.cpp: In function 'int main()':
0_0_20964578_6596.cpp:24:22: error: expected ')' before ';' token
     for(i=0;i<M;i++)
                      ^
0_0_20964578_6596.cpp:24:25: error: lvalue required as unary '&' operand
     for(i=0;i<M;i++)
                         ^
0_0_20964578_6596.cpp:24:28: error: expected primary-expression before ')' token
     for(i=0;i<M;i++)
                            ^
0_0_20964578_6596.cpp:26:22: error: expected ')' before ';' token
     for(i=1;i<M;i++)
                      ^
0_0_20964578_6596.cpp:26:25: error: lvalue required as unary '&' operand
     for(i=1;i<M;i++)
                         ^
0_0_20964578_6596.cpp:26:28: error: expected primary-expression before ')' token
     for(i=1;i<M;i++)
                            ^
0_0_20964578_6596.cpp:27:29: error: lvalue required as unary '&' operand
         for(j=1;j<M;j++){
                             ^
0_0_20964578_6596.cpp:27:32: error: expected primary-expression before ')' token
         for(j=1;j<M;j++){
                                ^
0_0_20964578_6596.cpp:30:42: error: expected ')' before ';' token
     while(scanf("%d%d",&n,&m)!=EOF&&n+m){
                                          ^
0_0_20964578_6596.cpp:30:44: error: expected ';' before ')' token
     while(scanf("%d%d",&n,&m)!=EOF&&n+m){
                                            ^
0_0_20964578_6596.cpp:45:1: error: expected '}' at end of input
 }
 ^


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-24 09:18:42, Gzip enabled