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_13806773_26118.cpp:7:13: error: '#' is not followed by a macro parameter
 #define OP(s) cout<<#s<<"="<<s<<" ";
             ^
0_0_13806773_26118.cpp:8:13: error: '#' is not followed by a macro parameter
 #define PP(s) cout<<#s<<"="<<s<<endl;
             ^
0_0_13806773_26118.cpp:27:20: error: stray '#' in program
     while (~scanf("%d",&n),n)
                    ^
0_0_13806773_26118.cpp:27:27: error: stray '#' in program
     while (~scanf("%d",&n),n)
                           ^
0_0_13806773_26118.cpp:27:33: error: stray '#' in program
     while (~scanf("%d",&n),n)
                                 ^
0_0_13806773_26118.cpp:30:17: error: stray '#' in program
         printf("Case %d: ",++cas);
                 ^
0_0_13806773_26118.cpp:30:31: error: stray '#' in program
         printf("Case %d: ",++cas);
                               ^
0_0_13806773_26118.cpp:46:31: error: stray '#' in program
                 string tmp = "";
                               ^
0_0_13806773_26118.cpp:46:36: error: stray '#' in program
                 string tmp = "";
                                    ^
0_0_13806773_26118.cpp:63:32: error: stray '#' in program
                     if (s2 == "Yes") a[id].yes++;
                                ^
0_0_13806773_26118.cpp:63:40: error: stray '#' in program
                     if (s2 == "Yes") a[id].yes++;
                                        ^
0_0_13806773_26118.cpp:75:40: error: stray '#' in program
                 || y1*ansc == ansy*c1 && c1 > ansc
                                        ^
0_0_13806773_26118.cpp:75:45: error: stray '#' in program
                 || y1*ansc == ansy*c1 && c1 > ansc
                                             ^
0_0_13806773_26118.cpp:76:40: error: stray '#' in program
                 || y1*ansc == ansy*c1 && c1 == ansc && a[i].str < a[ans].str
                                        ^
0_0_13806773_26118.cpp:76:45: error: stray '#' in program
                 || y1*ansc == ansy*c1 && c1 == ansc && a[i].str < a[ans].str
                                             ^
0_0_13806773_26118.cpp:76:62: error: stray '#' in program
                 || y1*ansc == ansy*c1 && c1 == ansc && a[i].str < a[ans].str
                                                              ^
0_0_13806773_26118.cpp:76:67: error: stray '#' in program
                 || y1*ansc == ansy*c1 && c1 == ansc && a[i].str < a[ans].str
                                                                   ^
0_0_13806773_26118.cpp:82:31: error: stray '#' in program
         if (ans == -1) cout<<"No solution\n";
                               ^
0_0_13806773_26118.cpp:82:9: error: stray '\' in program
         if (ans == -1) cout<<"No solution\n";
         ^
0_0_13806773_26118.cpp:82:49: error: stray '#' in program
         if (ans == -1) cout<<"No solution\n";
                                                 ^
0_0_13806773_26118.cpp: In function 'int main()':
0_0_13806773_26118.cpp:27:21: error: lvalue required as unary '&' operand
     while (~scanf("%d",&n),n)
                     ^
0_0_13806773_26118.cpp:27:23: error: expected ')' before ';' token
     while (~scanf("%d",&n),n)
                       ^
0_0_13806773_26118.cpp:27:24: error: expected primary-expression before '%' token
     while (~scanf("%d",&n),n)
                        ^
0_0_13806773_26118.cpp:27:25: error: 'd' was not declared in this scope
     while (~scanf("%d",&n),n)
                         ^
0_0_13806773_26118.cpp:27:31: error: expected primary-expression before ',' token
     while (~scanf("%d",&n),n)
                               ^
0_0_13806773_26118.cpp:27:34: error: lvalue required as unary '&' operand
     while (~scanf("%d",&n),n)
                                  ^
0_0_13806773_26118.cpp:27:38: error: expected ';' before ')' token
     while (~scanf("%d",&n),n)
                                      ^
0_0_13806773_26118.cpp:88: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-30 06:39:25, Gzip enabled