Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_868_337_8942.cpp: In function 'int main()':
1_868_337_8942.cpp:22:31: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   cout << (x + y)*(x - y/4 << endl;
                               ^
1_868_337_8942.cpp:22:35: error: expected ')' before ';' token
   cout << (x + y)*(x - y/4 << endl;
                                   ^


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 14:58:32, Gzip enabled