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_16389713_23375.cpp:24:33: error: stray '#' in program
 template<class T> T min(const T& a,const T& b,const T& c) {
                                 ^
0_0_16389713_23375.cpp:24:48: error: stray '#' in program
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                ^
0_0_16389713_23375.cpp:24:63: error: stray '#' in program
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                               ^
0_0_16389713_23375.cpp:27:33: error: stray '#' in program
 template<class T> T max(const T& a,const T& b,const T& c) {
                                 ^
0_0_16389713_23375.cpp:27:48: error: stray '#' in program
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                ^
0_0_16389713_23375.cpp:27:63: error: stray '#' in program
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                               ^
0_0_16389713_23375.cpp:40:20: error: stray '#' in program
         if(ch!=' '&&ch!='\n')return ch;
                    ^
0_0_16389713_23375.cpp:40:25: error: stray '#' in program
         if(ch!=' '&&ch!='\n')return ch;
                         ^
0_0_16389713_23375.cpp:72:23: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
                       ^
0_0_16389713_23375.cpp:79:31: error: stray '#' in program
             scanf(" %d:(%d)",&u,&k);
                               ^
0_0_16389713_23375.cpp:79:38: error: stray '#' in program
             scanf(" %d:(%d)",&u,&k);
                                      ^
0_0_16389713_23375.cpp:83:29: error: stray '#' in program
                 scanf("%d",&v);
                             ^
0_0_16389713_23375.cpp:24:34: error: expected ',' or '...' before numeric constant
 template<class T> T min(const T& a,const T& b,const T& c) {
                                  ^
0_0_16389713_23375.cpp:24:36: error: expected ')' before ';' token
 template<class T> T min(const T& a,const T& b,const T& c) {
                                    ^
0_0_16389713_23375.cpp:24:38: error: 'a' does not name a type
 template<class T> T min(const T& a,const T& b,const T& c) {
                                      ^
0_0_16389713_23375.cpp:24:53: error: 'b' does not name a type
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                     ^
0_0_16389713_23375.cpp:24:68: error: 'c' does not name a type
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                                    ^
0_0_16389713_23375.cpp:27:34: error: expected ',' or '...' before numeric constant
 template<class T> T max(const T& a,const T& b,const T& c) {
                                  ^
0_0_16389713_23375.cpp:27:36: error: expected ')' before ';' token
 template<class T> T max(const T& a,const T& b,const T& c) {
                                    ^
0_0_16389713_23375.cpp:27:38: error: 'a' does not name a type
 template<class T> T max(const T& a,const T& b,const T& c) {
                                      ^
0_0_16389713_23375.cpp:27:53: error: 'b' does not name a type
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                     ^
0_0_16389713_23375.cpp:27:68: error: 'c' does not name a type
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                                    ^
0_0_16389713_23375.cpp: In function 'int getch()':
0_0_16389713_23375.cpp:40:23: error: expected ')' before ';' token
         if(ch!=' '&&ch!='\n')return ch;
                       ^
0_0_16389713_23375.cpp:40:26: error: lvalue required as unary '&' operand
         if(ch!=' '&&ch!='\n')return ch;
                          ^
0_0_16389713_23375.cpp:40:37: error: expected ';' before ')' token
         if(ch!=' '&&ch!='\n')return ch;
                                     ^
0_0_16389713_23375.cpp: In function 'int main()':
0_0_16389713_23375.cpp:72:24: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF)
                        ^
0_0_16389713_23375.cpp:72:26: error: expected ')' before ';' token
     while(scanf("%d",&n)!=EOF)
                          ^
0_0_16389713_23375.cpp:72:28: error: expected ';' before ')' token
     while(scanf("%d",&n)!=EOF)
                            ^
0_0_16389713_23375.cpp:93: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-26 20:47:43, Gzip enabled