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_36472296_21265.cpp:11:1: error: 'll' does not name a type
 ll mod = 1e9+7;
 ^
0_0_36472296_21265.cpp:12:1: error: 'll' does not name a type
 ll p = 131;
 ^
0_0_36472296_21265.cpp:16:5: error: 'll' was not declared in this scope
 map<ll,int> mp;
     ^
0_0_36472296_21265.cpp:16:11: error: template argument 1 is invalid
 map<ll,int> mp;
           ^
0_0_36472296_21265.cpp:16:11: error: template argument 3 is invalid
0_0_36472296_21265.cpp:16:11: error: template argument 4 is invalid
0_0_36472296_21265.cpp:16:15: error: invalid type in declaration before ';' token
 map<ll,int> mp;
               ^
0_0_36472296_21265.cpp: In function 'int solve(int)':
0_0_36472296_21265.cpp:19:5: error: request for member 'clear' in 'mp', which is of non-class type 'int'
  mp.clear();
     ^
0_0_36472296_21265.cpp:20:2: error: 'll' was not declared in this scope
  ll temp;
  ^
0_0_36472296_21265.cpp:24:3: error: 'temp' was not declared in this scope
   temp=ha[i+l-1] - f[l]*ha[i-1]; 
   ^
0_0_36472296_21265.cpp: In function 'void init()':
0_0_36472296_21265.cpp:33:37: error: 'p' was not declared in this scope
  for(int i=1;i<MAX;i++) f[i]=f[i-1]*p;
                                     ^
0_0_36472296_21265.cpp: In function 'int main()':
0_0_36472296_21265.cpp:44:20: error: 'p' was not declared in this scope
    ha[i]=ha[i-1] * p + s[i]-'a';
                    ^


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-26 16:15:55, Gzip enabled