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_39666887_28440.cpp: In instantiation of 'void ST<N, T, Tp, op>::init(int, Tp*) [with int N = 100002; int T = 17; Tp = int; op = OP]':
0_0_39666887_28440.cpp:76:16:   required from here
0_0_39666887_28440.cpp:43:11: error: request for member 'resize' in '((ST<100002, 17, int, OP>*)this)->ST<100002, 17, int, OP>::v', which is of non-class type 'int [100002][17]'
   43 |         v.resize(_n+1,vector<Tp>(T,0));
      |         ~~^~~~~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 23:58:24, Gzip enabled