|
|
back to boardCommon BoardSOS!!! Problems with C++! HELP... I got AC with Pascal solution, and WA#3 with C++ solution. May be I output wrong? Output must be "eventually rounded up". In Pascal I'm doing it like this: if x<>trunc(x) then x:=trunc(x)+1; write(x:0:0); In C++: cout << ceil(double(x)); Here is my C++ solution code (Problem 1113): [code deleted] Thank You! Edited by moderator 08.07.2006 15:22 |
|
|