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_39258761_16596.cpp:11:1: error: 'll' does not name a type
   11 | ll bit_pow(ll a, ll b) {
      | ^~
0_0_39258761_16596.cpp: In function 'void solve()':
0_0_39258761_16596.cpp:63:5: error: 'll' was not declared in this scope
   63 |     ll ans = 0;
      |     ^~
0_0_39258761_16596.cpp:68:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
   68 |             if (d1 < N) ans = (ans + mu[d1] * bit_pow(cn[d2], m)) % mod;
      |                         ^~~
      |                         abs
0_0_39258761_16596.cpp:68:47: error: 'bit_pow' was not declared in this scope; did you mean '_itow'?
   68 |             if (d1 < N) ans = (ans + mu[d1] * bit_pow(cn[d2], m)) % mod;
      |                                               ^~~~~~~
      |                                               _itow
0_0_39258761_16596.cpp:71:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   71 |                 ans = (ans + mu_d1 * bit_pow(cn_d1, m)) % mod;
      |                 ^~~
      |                 abs
0_0_39258761_16596.cpp:71:38: error: 'bit_pow' was not declared in this scope; did you mean '_itow'?
   71 |                 ans = (ans + mu_d1 * bit_pow(cn_d1, m)) % mod;
      |                                      ^~~~~~~
      |                                      _itow
0_0_39258761_16596.cpp:74:29: error: 'ans' was not declared in this scope; did you mean 'abs'?
   74 |                 if (d2 < N) ans = (ans + mu[d2] * bit_pow(cn[d1], m)) % mod;
      |                             ^~~
      |                             abs
0_0_39258761_16596.cpp:74:51: error: 'bit_pow' was not declared in this scope; did you mean '_itow'?
   74 |                 if (d2 < N) ans = (ans + mu[d2] * bit_pow(cn[d1], m)) % mod;
      |                                                   ^~~~~~~
      |                                                   _itow
0_0_39258761_16596.cpp:77:21: error: 'ans' was not declared in this scope; did you mean 'abs'?
   77 |                     ans = (ans + mu_d2 * bit_pow(cn_d2, m)) % mod;
      |                     ^~~
      |                     abs
0_0_39258761_16596.cpp:77:42: error: 'bit_pow' was not declared in this scope; did you mean '_itow'?
   77 |                     ans = (ans + mu_d2 * bit_pow(cn_d2, m)) % mod;
      |                                          ^~~~~~~
      |                                          _itow
0_0_39258761_16596.cpp:82:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   82 |     ans = (ans + mod) % mod; // Ensure the result is positive
      |     ^~~
      |     abs


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-09-20 16:31:54, Gzip enabled