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_23231030_23809.cpp:61:46: error: conflicting declaration 'T chair_maker<T>::poor [2333331]'
 template<class T> T chair_maker<T>::poor[N*21];
                                              ^
0_0_23231030_23809.cpp:36:11: note: previous declaration as 'T chair_maker<T>::poor [2222220]'
  static T poor[N*20];
           ^
0_0_23231030_23809.cpp:61:46: error: declaration of 'T chair_maker<T>::poor [2222220]' outside of class is not definition [-fpermissive]
 template<class T> T chair_maker<T>::poor[N*21];
                                              ^


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 21:20:17, Gzip enabled