| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
无法理解的CE我是P党蒟蒻,这道题写的后缀自动机.
type tnode=record
max,pre:longint;
next:array[1..26] of longint;
end;
最开始写的是
const void:tnode=(max:-1;pre:0;next:(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0));
然后CE
但是这是能写的,我计算几何题写的const o=(x:0;y:0); 都AC了.
改成
var void:tnode;
.....
void.max:=-1; void.pre:=0; fillchar(void.next,sizeof(void.next),0);
就AC了
求解这是怎么回事
虽然我以前看到过"Cpp用 int a[5]={1,2,3,4,5}; 数组大了会CE" 的说法
难道Pascal也是?...虽然本机是AC的
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator