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_16284900_32171.cpp: In function 'void makesa()':
0_0_16284900_32171.cpp:15:11: error: missing template arguments before '[' token
   top[rank[i] = str[i]&(-1)]++;
           ^
0_0_16284900_32171.cpp:19:16: error: missing template arguments before '[' token
   sa[--top[rank[i]]] = i;
                ^
0_0_16284900_32171.cpp:27:16: error: missing template arguments before '[' token
    tmp[top[rank[j]]++] = j;
                ^
0_0_16284900_32171.cpp:32:12: error: missing template arguments before '[' token
    if (rank[tmp[i]] != rank[tmp[i-1]] || rank[tmp[i]+k] != rank[tmp[i-1]+k])
            ^
0_0_16284900_32171.cpp:32:28: error: missing template arguments before '[' token
    if (rank[tmp[i]] != rank[tmp[i-1]] || rank[tmp[i]+k] != rank[tmp[i-1]+k])
                            ^
0_0_16284900_32171.cpp:32:46: error: missing template arguments before '[' token
    if (rank[tmp[i]] != rank[tmp[i-1]] || rank[tmp[i]+k] != rank[tmp[i-1]+k])
                                              ^
0_0_16284900_32171.cpp:32:64: error: missing template arguments before '[' token
    if (rank[tmp[i]] != rank[tmp[i-1]] || rank[tmp[i]+k] != rank[tmp[i-1]+k])
                                                                ^
0_0_16284900_32171.cpp:36:14: error: missing template arguments before ',' token
   memcpy(rank, sa , len*sizeof(int));
              ^


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