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

×

WA : Game Of Robots

Problem : https://www.codechef.com/problems/ROBOGAME

My Solution : https://www.codechef.com/viewsolution/21682918

I tried a lot of test-cases manually , And it worked pretty well for those ; I cannot figure out the mistake , Please Help !

asked 24 Nov '18, 12:27

prembharwani's gravatar image

2★prembharwani
195
accept rate: 0%


Try test case

0...3

Your code prints unsafe while correct answer is safe.

link

answered 24 Nov '18, 12:34

taran_1407's gravatar image

5★taran_1407
3.9k2387
accept rate: 22%

Oh Thanks @taran_1407

(24 Nov '18, 16:01) prembharwani2★
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,901
×21
×20
×1

question asked: 24 Nov '18, 12:27

question was seen: 103 times

last updated: 24 Nov '18, 16:01