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_13806214_12649.cpp:23:33: error: stray '#' in program
 template<class T> T min(const T& a,const T& b,const T& c) {
                                 ^
0_0_13806214_12649.cpp:23:48: error: stray '#' in program
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                ^
0_0_13806214_12649.cpp:23:63: error: stray '#' in program
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                               ^
0_0_13806214_12649.cpp:26:33: error: stray '#' in program
 template<class T> T max(const T& a,const T& b,const T& c) {
                                 ^
0_0_13806214_12649.cpp:26:48: error: stray '#' in program
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                ^
0_0_13806214_12649.cpp:26:63: error: stray '#' in program
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                               ^
0_0_13806214_12649.cpp:40:20: error: stray '#' in program
         if(ch!=' '&&ch!='\n')return ch;
                    ^
0_0_13806214_12649.cpp:40:25: error: stray '#' in program
         if(ch!=' '&&ch!='\n')return ch;
                         ^
0_0_13806214_12649.cpp:73:18: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
                  ^
0_0_13806214_12649.cpp:73:25: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
                         ^
0_0_13806214_12649.cpp:73:31: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
                               ^
0_0_13806214_12649.cpp:80:20: error: stray '#' in program
             scanf(" %d:(%d)",&u,&k);
                    ^
0_0_13806214_12649.cpp:80:33: error: stray '#' in program
             scanf(" %d:(%d)",&u,&k);
                                 ^
0_0_13806214_12649.cpp:80:39: error: stray '#' in program
             scanf(" %d:(%d)",&u,&k);
                                       ^
0_0_13806214_12649.cpp:80:46: error: stray '#' in program
             scanf(" %d:(%d)",&u,&k);
                                              ^
0_0_13806214_12649.cpp:84:24: error: stray '#' in program
                 scanf("%d",&v);
                        ^
0_0_13806214_12649.cpp:84:31: error: stray '#' in program
                 scanf("%d",&v);
                               ^
0_0_13806214_12649.cpp:84:37: error: stray '#' in program
                 scanf("%d",&v);
                                     ^
0_0_13806214_12649.cpp:91:17: error: stray '#' in program
         printf("%d\n",num);
                 ^
0_0_13806214_12649.cpp:91:9: error: stray '\' in program
         printf("%d\n",num);
         ^
0_0_13806214_12649.cpp:91:26: error: stray '#' in program
         printf("%d\n",num);
                          ^
0_0_13806214_12649.cpp:23:34: error: expected ',' or '...' before numeric constant
 template<class T> T min(const T& a,const T& b,const T& c) {
                                  ^
0_0_13806214_12649.cpp:23:36: error: expected ')' before ';' token
 template<class T> T min(const T& a,const T& b,const T& c) {
                                    ^
0_0_13806214_12649.cpp:23:38: error: 'a' does not name a type
 template<class T> T min(const T& a,const T& b,const T& c) {
                                      ^
0_0_13806214_12649.cpp:23:53: error: 'b' does not name a type
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                     ^
0_0_13806214_12649.cpp:23:68: error: 'c' does not name a type
 template<class T> T min(const T& a,const T& b,const T& c) {
                                                                    ^
0_0_13806214_12649.cpp:26:34: error: expected ',' or '...' before numeric constant
 template<class T> T max(const T& a,const T& b,const T& c) {
                                  ^
0_0_13806214_12649.cpp:26:36: error: expected ')' before ';' token
 template<class T> T max(const T& a,const T& b,const T& c) {
                                    ^
0_0_13806214_12649.cpp:26:38: error: 'a' does not name a type
 template<class T> T max(const T& a,const T& b,const T& c) {
                                      ^
0_0_13806214_12649.cpp:26:53: error: 'b' does not name a type
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                     ^
0_0_13806214_12649.cpp:26:68: error: 'c' does not name a type
 template<class T> T max(const T& a,const T& b,const T& c) {
                                                                    ^
0_0_13806214_12649.cpp: In function 'int getch()':
0_0_13806214_12649.cpp:40:23: error: expected ')' before ';' token
         if(ch!=' '&&ch!='\n')return ch;
                       ^
0_0_13806214_12649.cpp:40:26: error: lvalue required as unary '&' operand
         if(ch!=' '&&ch!='\n')return ch;
                          ^
0_0_13806214_12649.cpp:40:37: error: expected ';' before ')' token
         if(ch!=' '&&ch!='\n')return ch;
                                     ^
0_0_13806214_12649.cpp: In function 'int main()':
0_0_13806214_12649.cpp:73:19: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF)
                   ^
0_0_13806214_12649.cpp:73:21: error: expected ')' before ';' token
     while(scanf("%d",&n)!=EOF)
                     ^
0_0_13806214_12649.cpp:73:22: error: expected primary-expression before '%' token
     while(scanf("%d",&n)!=EOF)
                      ^
0_0_13806214_12649.cpp:73:23: error: 'd' was not declared in this scope
     while(scanf("%d",&n)!=EOF)
                       ^
0_0_13806214_12649.cpp:73:29: error: expected primary-expression before ',' token
     while(scanf("%d",&n)!=EOF)
                             ^
0_0_13806214_12649.cpp:73:32: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF)
                                ^
0_0_13806214_12649.cpp:73:36: error: expected ';' before ')' token
     while(scanf("%d",&n)!=EOF)
                                    ^
0_0_13806214_12649.cpp:94: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:23:27, Gzip enabled