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_32338615_1500.cpp:3:13: error: 'l' was not declared in this scope
  int temp = l - (1<<k);     // L - 2^k
             ^
0_0_32338615_1500.cpp:3:21: error: 'k' was not declared in this scope
  int temp = l - (1<<k);     // L - 2^k
                     ^
0_0_32338615_1500.cpp:5:18: error: 'x' was not declared in this scope
         int i1 = x - temp;
                  ^
0_0_32338615_1500.cpp:6:18: error: 'y' was not declared in this scope
         int j1 = y + temp;
                  ^
0_0_32338615_1500.cpp:7:18: error: 'x' was not declared in this scope
         int i2 = x - temp;
                  ^
0_0_32338615_1500.cpp:8:18: error: 'y' was not declared in this scope
         int j2 = y + 3 * temp;
                  ^
0_0_32338615_1500.cpp:9:18: error: 'x' was not declared in this scope
         int i3 = x;
                  ^
0_0_32338615_1500.cpp:10:18: error: 'y' was not declared in this scope
         int j3 = y;
                  ^
0_0_32338615_1500.cpp:11:18: error: 'x' was not declared in this scope
         int i4 = x;
                  ^
0_0_32338615_1500.cpp:12:18: error: 'y' was not declared in this scope
         int j4 = y + 4 * temp;
                  ^
0_0_32338615_1500.cpp:13:18: error: 'x' was not declared in this scope
         int i5 = x + temp;
                  ^
0_0_32338615_1500.cpp:14:18: error: 'y' was not declared in this scope
         int j5 = y + temp;
                  ^
0_0_32338615_1500.cpp:15:18: error: 'x' was not declared in this scope
         int i6 = x + temp;
                  ^
0_0_32338615_1500.cpp:16:18: error: 'y' was not declared in this scope
         int j6 = y + 3 * temp;
                  ^
0_0_32338615_1500.cpp:19:9: error: 'n' does not name a type
         n = (long long)dp[i1][j1][k] | dp[i2][j2][k]
         ^


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 00:00:44, Gzip enabled