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_15160039_21632.cpp:2:12: error: '_int64' was not declared in this scope
 #define LL _int64
            ^
0_0_15160039_21632.cpp:5:9: note: in expansion of macro 'LL'
 int pow(LL n, LL m){
         ^
0_0_15160039_21632.cpp:2:12: error: '_int64' was not declared in this scope
 #define LL _int64
            ^
0_0_15160039_21632.cpp:5:15: note: in expansion of macro 'LL'
 int pow(LL n, LL m){
               ^
0_0_15160039_21632.cpp:5:19: error: expression list treated as compound expression in initializer [-fpermissive]
 int pow(LL n, LL m){
                   ^
0_0_15160039_21632.cpp:5:20: error: expected ',' or ';' before '{' token
 int pow(LL n, LL m){
                    ^
0_0_15160039_21632.cpp: In function 'int main()':
0_0_15160039_21632.cpp:2:12: error: '_int64' was not declared in this scope
 #define LL _int64
            ^
0_0_15160039_21632.cpp:13:2: note: in expansion of macro 'LL'
  LL n, m;
  ^
0_0_15160039_21632.cpp:16:24: error: 'n' was not declared in this scope
   scanf("%I64d%I64d", &n, &m);
                        ^
0_0_15160039_21632.cpp:16:28: error: 'm' was not declared in this scope
   scanf("%I64d%I64d", &n, &m);
                            ^
0_0_15160039_21632.cpp:17:48: error: 'pow' cannot be used as a function
   int ans = n == 1 ? (m == n ? 0: -1): pow(n, m);
                                                ^


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-26 19:17:34, Gzip enabled