You are not logged in. Please login at www.codechef.com to post your questions!

×

Spoj LASTDIG2

Spoj The Last Digit Re-Visited Problem LASTDIG2 LASTDIG2 SPOJ Here's my code : http://ideone.com/kbCysL
Anyone Please Look into the code. Where i have gone wrong? Spoj showing WA :/ ? ?

asked 09 Dec '14, 11:15

vsukeeshbabu's gravatar image

2★vsukeeshbabu
78727
accept rate: 0%

edited 09 Dec '14, 11:28


you are missing newline character '\n' after every output . (there may be other mistakes i havenot seen the code properly )

link

answered 09 Dec '14, 13:08

acodebreaker2's gravatar image

1★acodebreaker2
1.2k12
accept rate: 19%

edited 09 Dec '14, 15:15

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,911
×1,655
×1,134
×471
×349
×6
×3

question asked: 09 Dec '14, 11:15

question was seen: 4,318 times

last updated: 09 Dec '14, 15:15