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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_14732854_19043.cpp:1:
0_0_14732854_19043.cpp: In function 'long long int get_phi(long long int)':
0_0_14732854_19043.cpp:5:12: error: expected ')' before 'long'
 #define LL __int64
            ^
0_0_14732854_19043.cpp:9:2: note: in expansion of macro 'LL'
  LL ret = 1;
  ^
0_0_14732854_19043.cpp:12:4: error: 'ret' was not declared in this scope
    ret = ret * (i - 1);
    ^
0_0_14732854_19043.cpp:16:12: error: 'ret' was not declared in this scope
  if(x > 1) ret = ret * (x - 1);
            ^
0_0_14732854_19043.cpp:17:9: error: 'ret' was not declared in this scope
  return ret;
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:37:38, Gzip enabled