Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_868_224_8723.cpp: In function 'int main()':
1_868_224_8723.cpp:7:5: error: 'ans' was not declared in this scope
     ans = (x*x-y*y) / 4.0;
     ^


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-06-17 13:47:40, Gzip enabled