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_21715394_16464.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include cstdio
          ^
0_0_21715394_16464.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include cstring
          ^
0_0_21715394_16464.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include cmath
          ^
0_0_21715394_16464.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include algorithm
          ^
0_0_21715394_16464.cpp: In function 'bool Check()':
0_0_21715394_16464.cpp:14:19: error: expected ')' before 'n2'
     if (n%2 != 0  n2  k+1) return 0;
                   ^
0_0_21715394_16464.cpp: In function 'int main()':
0_0_21715394_16464.cpp:24:11: error: expected primary-expression before '%' token
     scanf(%d, &T);
           ^
0_0_21715394_16464.cpp:24:12: error: 'd' was not declared in this scope
     scanf(%d, &T);
            ^
0_0_21715394_16464.cpp:24:17: error: 'scanf' was not declared in this scope
     scanf(%d, &T);
                 ^
0_0_21715394_16464.cpp:26:33: error: 'memset' was not declared in this scope
         memset(fa, 0, sizeof(fa));
                                 ^
0_0_21715394_16464.cpp:28:15: error: expected primary-expression before '%' token
         scanf(%d%d, &n, &k);
               ^
0_0_21715394_16464.cpp:30:19: error: expected primary-expression before '%' token
             scanf(%d, &fa[i]);
                   ^
0_0_21715394_16464.cpp:31:29: error: 'Bobn' was not declared in this scope
         if (Check()) printf(Bobn);
                             ^
0_0_21715394_16464.cpp:31:33: error: 'printf' was not declared in this scope
         if (Check()) printf(Bobn);
                                 ^
0_0_21715394_16464.cpp:32:21: error: 'Alicen' was not declared in this scope
         else printf(Alicen);
                     ^
0_0_21715394_16464.cpp:32:27: error: 'printf' was not declared in this scope
         else printf(Alicen);
                           ^


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 06:25:59, Gzip enabled