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_29967517_22273.cpp:84:2: error: stray '\243' in program
  ll inverse(ll a,ll mod) // 求逆元
  ^
0_0_29967517_22273.cpp:84:2: error: stray '\254' in program
0_0_29967517_22273.cpp:84:19: error: expected ',' or '...' before 'll'
  ll inverse(ll a,ll mod) // 求逆元
                   ^
0_0_29967517_22273.cpp: In function 'll inverse(ll)':
0_0_29967517_22273.cpp:86:27: error: 'mod' was not declared in this scope
      return a == 1 ? 1 : (mod - mod / a) * inverse(mod % a) % mod;
                           ^
0_0_29967517_22273.cpp: In function 'int main()':
0_0_29967517_22273.cpp:104:37: error: too many arguments to function 'll inverse(ll)'
    else ans = q_mul(ans, inverse(i,n), n);// 递归求解 逆元    TLE
                                     ^
0_0_29967517_22273.cpp:84:5: note: declared here
  ll inverse(ll a,ll 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-17 00:23:15, Gzip enabled