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_38605332_14889.cpp:12:1: error: 'vector' does not name a type; did you mean 'wctob'?
 vector<int>a[N];
 ^~~~~~
 wctob
0_0_38605332_14889.cpp: In function 'long long int kmp(long long int)':
0_0_38605332_14889.cpp:19:11: error: 'a' was not declared in this scope
  int sz = a[x].size();
           ^
0_0_38605332_14889.cpp: In function 'void solve()':
0_0_38605332_14889.cpp:39:3: error: 'a' was not declared in this scope
   a[i % k].push_back(x);
   ^
0_0_38605332_14889.cpp:58:29: error: 'a' was not declared in this scope
  for (int i = 0; i < k; i++)a[i].clear();
                             ^


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 16:06:10, Gzip enabled