In this problem the "1" is treated like a character value not an integer.And the "endl" propaty is not taken here because endl takes a new line but out problem we dont take new line we need extra '1'. So if we dont add endl the printing next line is come in beside and that is our answer.
#codeing
#code
#codechallenge
#codechef
#programmer
#programming
#codinganswer
#offbyone
Download
0 formats
No download links available.
Off By One Problem form CodeChef || Codechef Problem with Answer || Coding Problem Solve || | NatokHD