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_36392059_24084.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_36392059_24084.cpp: In function 'void SA()':
0_0_36392059_24084.cpp:20:41: error: 'swap' is not a member of 'std'
     for (int k = 1, m = 26; k < n; ++k, std :: swap(x, y)) {
                                         ^
0_0_36392059_24084.cpp:39:45: error: 'memcpy' was not declared in this scope
     if (y != rnk) memcpy(rnk, y, sizeof(rnk));
                                             ^
0_0_36392059_24084.cpp: In function 'll calc(int)':
0_0_36392059_24084.cpp:51:45: error: 'max' was not declared in this scope
         length[i] = max(0, length[i - 1] - 1);
                                             ^
0_0_36392059_24084.cpp:57:49: error: 'min' was not declared in this scope
         int k = min(length[sa[i - 1]], height[i]);
                                                 ^
0_0_36392059_24084.cpp: In function 'int main()':
0_0_36392059_24084.cpp:65:19: error: 'scanf' was not declared in this scope
     scanf("%d", &T);
                   ^
0_0_36392059_24084.cpp:82:27: error: 'printf' was not declared in this scope
         printf("%d\n", ans);
                           ^


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-22 14:55:05, Gzip enabled