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_29057004_8732.cpp: In function 'long long int phi(long long int)':
0_0_29057004_8732.cpp:4:5: error: 'LL' was not declared in this scope
     LL i,res = x;
     ^
0_0_29057004_8732.cpp:5:9: error: 'i' was not declared in this scope
     for(i = 2;i*i<=x;i++)
         ^
0_0_29057004_8732.cpp:8:6: error: 'res' was not declared in this scope
      res = res / i * (i-1);
      ^
0_0_29057004_8732.cpp:13:6: error: 'res' was not declared in this scope
      res = res/x *(x-1);
      ^
0_0_29057004_8732.cpp:14:10: 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-17 02:38:17, Gzip enabled