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_38645245_31403.cpp:15:1: error: 'op' does not name a type; did you mean 'mp'?
 op[N];
 ^~
 mp
0_0_38645245_31403.cpp: In function 'void run()':
0_0_38645245_31403.cpp:20:6: error: 'll' was not declared in this scope
  for(ll i=0;i<=n;i++)op[i]=0;
      ^~
0_0_38645245_31403.cpp:20:6: note: suggested alternative: 'ull'
  for(ll i=0;i<=n;i++)op[i]=0;
      ^~
      ull
0_0_38645245_31403.cpp:20:13: error: 'i' was not declared in this scope
  for(ll i=0;i<=n;i++)op[i]=0;
             ^
0_0_38645245_31403.cpp:20:22: error: 'op' was not declared in this scope
  for(ll i=0;i<=n;i++)op[i]=0;
                      ^~
0_0_38645245_31403.cpp:20:22: note: suggested alternative: 'mp'
  for(ll i=0;i<=n;i++)op[i]=0;
                      ^~
                      mp
0_0_38645245_31403.cpp:34:9: error: 'op' was not declared in this scope
         op[kv.second]++;
         ^~
0_0_38645245_31403.cpp:34:9: note: suggested alternative: 'ok'
         op[kv.second]++;
         ^~
         ok
0_0_38645245_31403.cpp:39:6: error: 'op' was not declared in this scope
   s-=op[f];
      ^~
0_0_38645245_31403.cpp:39:6: note: suggested alternative: 'ok'
   s-=op[f];
      ^~
      ok


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 21:36:25, Gzip enabled