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_34802035_13403.cpp: In function 'int main()':
0_0_34802035_13403.cpp:13:24: error: 'bzero' was not declared in this scope
   bzero(buf,sizeof(buf));
                        ^
0_0_34802035_13403.cpp:4:12: error: expected primary-expression before '<' token
 #define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
            ^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
   printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
                       ^
0_0_34802035_13403.cpp:4:13: error: 'a' was not declared in this scope
 #define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
             ^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
   printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
                       ^
0_0_34802035_13403.cpp:4:15: error: 'b' was not declared in this scope
 #define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
               ^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
   printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
                       ^
0_0_34802035_13403.cpp:4:17: error: 'c' was not declared in this scope
 #define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
                 ^
0_0_34802035_13403.cpp:15:23: note: in expansion of macro 'MIN'
   printf("%c %c %c\n",MIN(buf[0],buf[1],buf[2]),\
                       ^
0_0_34802035_13403.cpp:4:12: error: expected primary-expression before '<' token
 #define MIN<a,b,c>((a<b?a:b)<c?(a<b?a:b):c)
            ^
0_0_34802035_13403.cpp:16:19: note: in expansion of macro 'MIN'
   (buf[0]+buf[2])-MIN(buf[0],buf[1],buf[2])-MAX(buf[0],buf[1],buf[2]),\
                   ^
0_0_34802035_13403.cpp:3:12: error: expected primary-expression before '<' token
 #define MAX<a,b,c>((a>b?a:b)>c?(a>b?a:b):c)
            ^
0_0_34802035_13403.cpp:16:45: note: in expansion of macro 'MAX'
   (buf[0]+buf[2])-MIN(buf[0],buf[1],buf[2])-MAX(buf[0],buf[1],buf[2]),\
                                             ^
0_0_34802035_13403.cpp:3:12: error: expected primary-expression before '<' token
 #define MAX<a,b,c>((a>b?a:b)>c?(a>b?a:b):c)
            ^
0_0_34802035_13403.cpp:17:3: note: in expansion of macro 'MAX'
   MAX(buf[0],buf[1],buf[2]));
   ^
0_0_34802035_13403.cpp:19:2: error: expected ';' before '}' token
  }
  ^


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-20 07:31:54, Gzip enabled