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_30367925_14136.cpp: In function 'long long int phi(long long int)':
0_0_30367925_14136.cpp:26:23: error: 'c' was not declared in this scope
 inline ll phi (ll x) {c
                       ^
0_0_30367925_14136.cpp:29:19: error: 'res' was not declared in this scope
   if (x % i == 0) res = res / i * (i - 1);
                   ^
0_0_30367925_14136.cpp:32:13: error: 'res' was not declared in this scope
  if (x > 1) res = res / x * (x - 1);
             ^
0_0_30367925_14136.cpp:33:9: error: 'res' was not declared in this scope
  return res;
         ^


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-16 15:33:11, Gzip enabled