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_39453134_26428.cpp: In function 'void solve()':
0_0_39453134_26428.cpp:32:7: error: 'class std::vector<int>' has no member named 'earse'; did you mean 'erase'?
   32 |     x.earse(std::unique(x.begin(), x.end()), x.end());
      |       ^~~~~
      |       erase
0_0_39453134_26428.cpp:33:7: error: 'class std::vector<int>' has no member named 'earse'; did you mean 'erase'?
   33 |     y.earse(std::unique(y.begin(), y.end()), y.end());
      |       ^~~~~
      |       erase
0_0_39453134_26428.cpp:65:74: error: 'k' was not declared in this scope
   65 |         for(int j = 1; j <= n; j++) ans[j] = (ans[j] - 1LL * comb[n - i][k] * g[i] % mod + mod) % mod;
      |                                                                          ^
0_0_39453134_26428.cpp:72:34: error: 'qkm' was not declared in this scope
   72 |         ans[i] = (1LL * ans[i] * qkm(comb[n][i], mod - 2) % mod + S) % mod;
      |                                  ^~~


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-10 12:54:56, Gzip enabled