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_14877564_30649.cpp: In function 'int dfs(int, int)':
0_0_14877564_30649.cpp:21:14: error: 'i' was not declared in this scope
         FORD(i, 8, 0) {
              ^
0_0_14877564_30649.cpp:21:21: error: 'FORD' was not declared in this scope
         FORD(i, 8, 0) {
                     ^
0_0_14877564_30649.cpp: In function 'int main()':
0_0_14877564_30649.cpp:39:24: error: 'sf' was not declared in this scope
     while (~sf("%d", &n)) {
                        ^
0_0_14877564_30649.cpp:40:13: error: 'i' was not declared in this scope
         REP(i, n) sf("%d", &a[i]);
             ^
0_0_14877564_30649.cpp:40:17: error: 'REP' was not declared in this scope
         REP(i, n) sf("%d", &a[i]);
                 ^
0_0_14877564_30649.cpp:41:28: error: 'puts' was not declared in this scope
         if (n & 1) puts("0");
                            ^
0_0_14877564_30649.cpp:43:38: error: 'memset' was not declared in this scope
             memset(dp, -1, sizeof(dp));
                                      ^
0_0_14877564_30649.cpp:48:30: error: 'puts' was not declared in this scope
             if (ans) puts("1");
                              ^
0_0_14877564_30649.cpp:49:26: error: 'puts' was not declared in this scope
             else puts("0");
                          ^


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-23 01:08:41, Gzip enabled