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_39709818_15308.cpp: In function 'bool f(ll)':
0_0_39709818_15308.cpp:19:20: error: 'A' was not declared in this scope
   19 |     for(int i=1;i<=A;i++){
      |                    ^
0_0_39709818_15308.cpp:20:14: error: 'K' was not declared in this scope
   20 |         if(a>K/x) return false;
      |              ^
0_0_39709818_15308.cpp:21:21: error: 'K' was not declared in this scope
   21 |         a=a*x; if(a>K) return false;
      |                     ^
0_0_39709818_15308.cpp:23:20: error: 'B' was not declared in this scope
   23 |     for(int i=1;i<=B;i++){
      |                    ^
0_0_39709818_15308.cpp:24:16: error: 'K' was not declared in this scope
   24 |         if(res>K/b) return false;
      |                ^
0_0_39709818_15308.cpp:25:27: error: 'K' was not declared in this scope
   25 |         res=res*b; if(res>K) return false;
      |                           ^
0_0_39709818_15308.cpp:28:10: error: 'K' was not declared in this scope
   28 |     if(a>K/res) return false;
      |          ^
0_0_39709818_15308.cpp:29:15: error: 'K' was not declared in this scope
   29 |     if(a*res<=K) return true;
      |               ^


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 22:12:36, Gzip enabled