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_17628538_24450.cpp:7:1: error: expected initializer before 'int'
 int map[10][10];
 ^
0_0_17628538_24450.cpp: In function 'void chuliying(int, int)':
0_0_17628538_24450.cpp:16:32: error: 'nowbit' was not declared in this scope
     for (int i=yi;i;i-=nowbit(i)){
                                ^
0_0_17628538_24450.cpp:17:13: error: 'who' was not declared in this scope
         now=who[nowbit(i)];
             ^
0_0_17628538_24450.cpp:21:9: error: expected primary-expression before '}' token
         }
         ^
0_0_17628538_24450.cpp: In function 'void solve(int)':
0_0_17628538_24450.cpp:25:14: error: 'lead' was not declared in this scope
  int a=1<<(n+lead-1);
              ^
0_0_17628538_24450.cpp:33:24: error: 'chuliyang' was not declared in this scope
   else chuliyang(i,Lead)
                        ^
0_0_17628538_24450.cpp: In function 'void In()':
0_0_17628538_24450.cpp:38:18: error: 'm' was not declared in this scope
  for (int i=1;i<=m;++i){
                  ^
0_0_17628538_24450.cpp:40:3: error: 'map' was not declared in this scope
   map[a][b]=1;
   ^
0_0_17628538_24450.cpp:48:22: error: 'nowbit' was not declared in this scope
   for (;a;a-=nowbit(a)) ge[i]++;
                      ^
0_0_17628538_24450.cpp: In function 'int main()':
0_0_17628538_24450.cpp:64:26: error: 'm' was not declared in this scope
  while (scanf("%d%d",&n,&m)!=EOF){
                          ^


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-09-29 10:26:28, Gzip enabled