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_34163448_11220.cpp:6:1: error: 'onst' does not name a type
 onst int maxn=20;
 ^
0_0_34163448_11220.cpp:7:10: error: 'maxn' was not declared in this scope
 char set[maxn];
          ^
0_0_34163448_11220.cpp:10:10: error: 'maxn' was not declared in this scope
 char ans[maxn];
          ^
0_0_34163448_11220.cpp:11:10: error: 'maxn' was not declared in this scope
 bool sel[maxn];
          ^
0_0_34163448_11220.cpp: In function 'void solve(int, int)':
0_0_34163448_11220.cpp:24:4: error: 'ans' was not declared in this scope
    ans[5]='\0';
    ^
0_0_34163448_11220.cpp:34:7: error: 'sel' was not declared in this scope
   if(!sel[i])
       ^
0_0_34163448_11220.cpp:36:4: error: 'ans' was not declared in this scope
    ans[lev]=set[i];
    ^
0_0_34163448_11220.cpp:36:13: error: 'set' was not declared in this scope
    ans[lev]=set[i];
             ^
0_0_34163448_11220.cpp: In function 'int main()':
0_0_34163448_11220.cpp:54:18: error: 'set' was not declared in this scope
  while(cin>>tar>>set)
                  ^
0_0_34163448_11220.cpp:63:10: error: 'sel' was not declared in this scope
   memset(sel,0,sizeof(sel));
          ^


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-25 04:03:30, Gzip enabled