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_39305073_30998.cpp:4:13: error: expected initializer before 'unsigned'
    4 | #define ull unsigned long long
      |             ^~~~~~~~
0_0_39305073_30998.cpp:8:9: note: in expansion of macro 'ull'
    8 |         ull ha[N],hs;
      |         ^~~
0_0_39305073_30998.cpp: In function 'void solve()':
0_0_39305073_30998.cpp:12:9: error: 'hs' was not declared in this scope
   12 |         hs=0;
      |         ^~
0_0_39305073_30998.cpp:20:17: error: 'ha' was not declared in this scope; did you mean 'la'?
   20 |                 ha[i]=ha[i-1]*d+a[i];
      |                 ^~
      |                 la
0_0_39305073_30998.cpp:24:22: error: 's' was not declared in this scope
   24 |                 cin>>s[i];
      |                      ^
0_0_39305073_30998.cpp:31:20: error: 'ha' was not declared in this scope; did you mean 'la'?
   31 |                 if(ha[i]-ha[i-ls]*pow1==hs)
      |                    ^~
      |                    la


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-04 01:12:33, Gzip enabled