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_33820214_30115.cpp: In function 'int main()':
0_0_33820214_30115.cpp:53:53: error: 'LL' was not declared in this scope
   for (register int i = 1; i <= n; i+=1) a[i] = gi <LL> ();
                                                     ^
0_0_33820214_30115.cpp:53:58: error: no matching function for call to 'gi()'
   for (register int i = 1; i <= n; i+=1) a[i] = gi <LL> ();
                                                          ^
0_0_33820214_30115.cpp:53:58: note: candidate is:
0_0_33820214_30115.cpp:10:10: note: template<class T> T gi()
 inline T gi()
          ^
0_0_33820214_30115.cpp:10:10: note:   template argument deduction/substitution failed:
0_0_33820214_30115.cpp:53:58: error: template argument 1 is invalid
   for (register int i = 1; i <= n; i+=1) a[i] = gi <LL> ();
                                                          ^


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 17:12:39, Gzip enabled