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_30413183_13776.cpp: In function 'int main()':
0_0_30413183_13776.cpp:25:3: error: 'll' was not declared in this scope
   ll n,k;
   ^
0_0_30413183_13776.cpp:26:17: error: 'n' was not declared in this scope
   scanf("%d%d",&n,&k);
                 ^
0_0_30413183_13776.cpp:26:20: error: 'k' was not declared in this scope
   scanf("%d%d",&n,&k);
                    ^
0_0_30413183_13776.cpp:28:6: error: expected ';' before 'ans'
   ll ans=0;
      ^
0_0_30413183_13776.cpp:29:6: error: expected ';' before 'num'
   ll num=0;
      ^
0_0_30413183_13776.cpp:34:4: error: 'ans' was not declared in this scope
    ans+=tp[i];
    ^
0_0_30413183_13776.cpp:36:4: error: 'num' was not declared in this scope
    num+=tp[i]/k;
    ^
0_0_30413183_13776.cpp:38:3: error: 'ans' was not declared in this scope
   ans += k;
   ^
0_0_30413183_13776.cpp:39:3: error: 'num' was not declared in this scope
   num++;
   ^


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-25 15:31:31, Gzip enabled