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_18875785_20710.cpp:16:1: error: 'bitset' does not name a type
 bitset<5000020>res,bs[10],tmp;
 ^
0_0_18875785_20710.cpp: In function 'int main()':
0_0_18875785_20710.cpp:22:3: error: 'res' was not declared in this scope
   res.set();
   ^
0_0_18875785_20710.cpp:32:24: error: 'bs' was not declared in this scope
   for(int i=0;i<10;i++)bs[i].reset();
                        ^
0_0_18875785_20710.cpp:33:24: error: 'bs' was not declared in this scope
   for(int j=0;s[j];j++)bs[s[j]-'0'][j]=1;
                        ^
0_0_18875785_20710.cpp:35:4: error: 'tmp' was not declared in this scope
    tmp.reset();
    ^
0_0_18875785_20710.cpp:37:10: error: 'bs' was not declared in this scope
     tmp|=bs[has[i][j]];
          ^


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 07:56:18, Gzip enabled