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_38739782_26541.cpp:10:1: error: expected initializer before 'inline'
   10 | inline i64 qpow(i64 a,i64 n){
      | ^~~~~~
0_0_38739782_26541.cpp: In function 'i64 inv(i64)':
0_0_38739782_26541.cpp:23:16: error: 'qpow' was not declared in this scope; did you mean 'pow'?
   23 |         return qpow(a,mod-2);
      |                ^~~~
      |                pow
0_0_38739782_26541.cpp: In function 'void solve()':
0_0_38739782_26541.cpp:34:25: error: 'C' was not declared in this scope
   34 |         q1[0]=1,q2[0]=1,C[0]=1;
      |                         ^
0_0_38739782_26541.cpp:36:25: error: 'qpow' was not declared in this scope; did you mean 'pow'?
   36 |                 cnt[i]=(qpow(1LL*i,m)+cnt[i-1])%mod;
      |                         ^~~~
      |                         pow


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-29 12:05:23, Gzip enabled