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_21822080_20275.cpp:17:1: error: 'LL' does not name a type
 LL cal(LL n){
 ^
0_0_21822080_20275.cpp:39:1: error: 'LL' does not name a type
 LL gao(LL a,LL b,int n){
 ^
0_0_21822080_20275.cpp: In function 'int main()':
0_0_21822080_20275.cpp:45:18: error: 'scanf' was not declared in this scope
     scanf("%d",&t);
                  ^
0_0_21822080_20275.cpp:48:9: error: 'LL' was not declared in this scope
         LL a,b;
         ^
0_0_21822080_20275.cpp:50:31: error: 'a' was not declared in this scope
         scanf("%I64d%I64d%d",&a,&b,&n);
                               ^
0_0_21822080_20275.cpp:50:34: error: 'b' was not declared in this scope
         scanf("%I64d%I64d%d",&a,&b,&n);
                                  ^
0_0_21822080_20275.cpp:52:12: error: expected ';' before 'ans'
         LL ans = gao(a,b,n);
            ^
0_0_21822080_20275.cpp:53:41: error: 'ans' was not declared in this scope
         printf("Case #%d: %I64d\n",ca++,ans);
                                         ^
0_0_21822080_20275.cpp:53:44: error: 'printf' was not declared in this scope
         printf("Case #%d: %I64d\n",ca++,ans);
                                            ^


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-12-02 02:11:32, Gzip enabled