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_30273865_25189.cpp:16:1: error: '_int128' does not name a type
 _int128 sqrt3(_int128 n) {
 ^
0_0_30273865_25189.cpp:27:1: error: '_int128' does not name a type
 _int128 sum[siz];
 ^
0_0_30273865_25189.cpp:49:1: error: '_int128' does not name a type
 _int128 ksm(_int128 a,_int128 b) {
 ^
0_0_30273865_25189.cpp:59:1: error: '_int128' does not name a type
 _int128 ni6 = ksm(6,mod-2);
 ^
0_0_30273865_25189.cpp:60:1: error: '_int128' does not name a type
 _int128 ni2 = ksm(2,mod-2);
 ^
0_0_30273865_25189.cpp:62:1: error: '_int128' does not name a type
 _int128 f2(_int128 n) {
 ^
0_0_30273865_25189.cpp:66:1: error: '_int128' does not name a type
 _int128 f1(_int128 n) {
 ^
0_0_30273865_25189.cpp:78:1: error: '_int128' does not name a type
 _int128 n;
 ^
0_0_30273865_25189.cpp: In function 'int main()':
0_0_30273865_25189.cpp:83:15: error: 'n' was not declared in this scope
          read(n);
               ^
0_0_30273865_25189.cpp:84:25: error: 'sqrt3' was not declared in this scope
         int M1 = sqrt3(n);
                         ^
0_0_30273865_25189.cpp:85:9: error: '_int128' was not declared in this scope
         _int128 ans = 0;
         ^
0_0_30273865_25189.cpp:87:21: error: expected ';' before 'tmp'
             _int128 tmp = 3*d*f2((M1-1)/d)+ 3*f1((M1-1)/d) + ((M1-1)/d);
                     ^
0_0_30273865_25189.cpp:88:13: error: 'ans' was not declared in this scope
             ans += phi[d] * tmp;
             ^
0_0_30273865_25189.cpp:88:29: error: 'tmp' was not declared in this scope
             ans += phi[d] * tmp;
                             ^
0_0_30273865_25189.cpp:92:17: error: 'ans' was not declared in this scope
                 ans += phi[d] * (((n/d) - ((_int128)M1*M1*M1-1)/d));
                 ^
0_0_30273865_25189.cpp:92:53: error: expected ')' before 'M1'
                 ans += phi[d] * (((n/d) - ((_int128)M1*M1*M1-1)/d));
                                                     ^
0_0_30273865_25189.cpp:92:68: error: expected ')' before ';' token
                 ans += phi[d] * (((n/d) - ((_int128)M1*M1*M1-1)/d));
                                                                    ^
0_0_30273865_25189.cpp:92:68: error: expected ')' before ';' token
0_0_30273865_25189.cpp:95:9: error: 'ans' was not declared in this scope
         ans %= 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 09:33:33, Gzip enabled