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_39749265_25300.cpp: In function 'int main()':
0_0_39749265_25300.cpp:14:45: error: 'A' was not declared in this scope
   14 |                 if (a%b== 0) printf("%d\n", A / B);
      |                                             ^
0_0_39749265_25300.cpp:14:49: error: 'B' was not declared in this scope
   14 |                 if (a%b== 0) printf("%d\n", A / B);
      |                                                 ^
0_0_39749265_25300.cpp:15:46: error: 'A' was not declared in this scope
   15 |                 else printf("%.2f\n", (float)A / B);
      |                                              ^
0_0_39749265_25300.cpp:15:50: error: 'B' was not declared in this scope
   15 |                 else printf("%.2f\n", (float)A / B);
      |                                                  ^


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-03 03:42:32, Gzip enabled