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_37500804_26658.cpp:3:1: error: 'ull' does not name a type
 ull h[N], p[N],a[N]; 
 ^
0_0_37500804_26658.cpp:5:1: error: 'ull' does not name a type
 ull th[50],tp[50];
 ^
0_0_37500804_26658.cpp:6:1: error: 'ull' does not name a type
 ull get(int l, int r)
 ^
0_0_37500804_26658.cpp: In function 'int main()':
0_0_37500804_26658.cpp:12:8: error: 'read' was not declared in this scope
  int _=read;
        ^
0_0_37500804_26658.cpp:14:19: error: 'scanf' was not declared in this scope
   scanf("%s",str+1);
                   ^
0_0_37500804_26658.cpp:15:3: error: 'p' was not declared in this scope
   p[0]=1;h[0]=0;
   ^
0_0_37500804_26658.cpp:15:10: error: 'h' was not declared in this scope
   p[0]=1;h[0]=0;
          ^
0_0_37500804_26658.cpp:16:23: error: 'strlen' was not declared in this scope
   int len=strlen(str+1);
                       ^
0_0_37500804_26658.cpp:22:3: error: 'unordered_map' was not declared in this scope
   unordered_map<ull,int>mp,las;
   ^
0_0_37500804_26658.cpp:22:17: error: 'ull' was not declared in this scope
   unordered_map<ull,int>mp,las;
                 ^
0_0_37500804_26658.cpp:22:21: error: expected primary-expression before 'int'
   unordered_map<ull,int>mp,las;
                     ^
0_0_37500804_26658.cpp:24:7: error: 'i' was not declared in this scope
   rep(i,1,n){
       ^
0_0_37500804_26658.cpp:24:12: error: 'rep' was not declared in this scope
   rep(i,1,n){
            ^
0_0_37500804_26658.cpp:38:9: error: expected ';' before 'now'
     ull now=get(i,i+j);
         ^
0_0_37500804_26658.cpp:40:8: error: 'mp' was not declared in this scope
     if(mp.count(now)){
        ^
0_0_37500804_26658.cpp:40:17: error: 'now' was not declared in this scope
     if(mp.count(now)){
                 ^
0_0_37500804_26658.cpp:41:9: error: 'las' was not declared in this scope
      if(las[now]<i) mp[now]++,las[now]=i+j;
         ^


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-26 03:03:42, Gzip enabled