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_30443558_12104.cpp:68:1: error: '_int128' does not name a type
 _int128 read()
 ^
0_0_30443558_12104.cpp:83:14: error: '_int128' has not been declared
 ll sum(int n,_int128 k)
              ^
0_0_30443558_12104.cpp: In function 'long long int sum(int, int)':
0_0_30443558_12104.cpp:83:23: error: 'long long int sum(int, int)' redeclared as different kind of symbol
 ll sum(int n,_int128 k)
                       ^
0_0_30443558_12104.cpp:36:16: note: previous declaration 'long long int sum [10000010]'
 ll ans[maxn+5],sum[maxn+5];
                ^
0_0_30443558_12104.cpp:85:23: error: invalid types 'long long int[int]' for array subscript
     ll ans=(k/n)*ans[n]%mod;
                       ^
0_0_30443558_12104.cpp:97:32: error: 'i' was not declared in this scope
                 ans=(ans+phi[n/i]*(k/(n/l)))%mod;
                                ^
0_0_30443558_12104.cpp: In function 'int main()':
0_0_30443558_12104.cpp:112:9: error: '_int128' was not declared in this scope
         _int128 n;
         ^
0_0_30443558_12104.cpp:113:9: error: 'n' was not declared in this scope
         n=read();
         ^
0_0_30443558_12104.cpp:113:16: error: 'read' was not declared in this scope
         n=read();
                ^
0_0_30443558_12104.cpp:138:38: error: 'sum' cannot be used as a function
                 ll res=(Ans+sum(p,k%p)+k/p*ans[p])%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-25 10:04:31, Gzip enabled