Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_868_5019_14932.cpp: In function 'int main(int, const char**)':
1_868_5019_14932.cpp:9:14: error: 'y' was not declared in this scope
 printf("%d",(y*y-x*x)/4);
              ^
1_868_5019_14932.cpp:9:18: error: 'x' was not declared in this scope
 printf("%d",(y*y-x*x)/4);
                  ^


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 09:14:37, Gzip enabled