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_17489561_20296.cpp:9:107: error: template instantiation depth exceeds maximum of 900 (use -ftemplate-depth= to increase the maximum) instantiating 'class getdt<3099>'
         return num[x]=((x==1||x==3||x==5||x==7||x==8||x==10||x==12?31:(x==2?28:30)) + getdt<x-1>::getx(num));
                                                                                                           ^
0_0_17489561_20296.cpp:9:107:   recursively required from 'static int getdt<x>::getx(int*) [with int x = 3998]'
0_0_17489561_20296.cpp:9:107:   required from 'static int getdt<x>::getx(int*) [with int x = 3999]'
0_0_17489561_20296.cpp:32:18:   required from here

0_0_17489561_20296.cpp:9:107: error: incomplete type 'getdt<3099>' used in nested name specifier


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-10-05 19:16:43, Gzip enabled