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_36761822_25065.cpp:11:1: error: 'map' does not name a type
 map<int,int> vis;
 ^
0_0_36761822_25065.cpp: In function 'void deal(int)':
0_0_36761822_25065.cpp:24:32: error: 'vis' was not declared in this scope
     for (int i=2;i<=high;i+=2) vis[i]=1;
                                ^
0_0_36761822_25065.cpp:25:37: error: 'vis' was not declared in this scope
     for (int i=3;i<=high;i+=2) if (!vis[i])
                                     ^
0_0_36761822_25065.cpp: In function 'void solve()':
0_0_36761822_25065.cpp:57:31: error: 'vis' was not declared in this scope
                 if (vis(pri[i])) break;
                               ^


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-06-17 05:47:02, Gzip enabled