10101 - Bangla Numbers
Moderator: Board moderators
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 10101 - Bangla Numbers
Don't read and write to files.
Check input and AC output for thousands of problems on uDebug!
-
- New poster
- Posts: 32
- Joined: Tue Jul 22, 2014 1:17 am
Re: 10101 - Bangla Numbers
Why Getting TLE???
.
![:)](./images/smilies/icon_smile.gif)
Code: Select all
GOT AC
Last edited by ehsanulbigboss on Wed Oct 15, 2014 9:41 pm, edited 1 time in total.
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 10101 - Bangla Numbers
Try using
while (scanf("%lld",&n) == 1)
while (scanf("%lld",&n) == 1)
Check input and AC output for thousands of problems on uDebug!