×

PRPALIN 14

 1 My initial solution was something like yours.. Solved subtask1 and last two files of subtask 2. I got to know where I was going wrong. Just keep trying with different test cases. If you are going with a comparison of first and last elements approach, make it equally on both sides after deleting a character. That's what I could say. Yes string of length 2 will always give yes. You need not worry about that constraint. It would never exceed that given limit. answered 15 Nov '14, 01:21 1.9k●2●14●30 accept rate: 24% @vinayawsm what it means make eqauly on both sides..?? (15 Nov '14, 18:39) nitya2★
 0 I'm also facing the same problem. answered 14 Nov '14, 18:16 3★ar56 -3●2 accept rate: 0%
 0 Hi nitya, As per your description,if you read the question carefully,100 pts are waiting for you .I had the same problem,but i cleverly managed to get 100 pts. As the contest is live,i cannot comment further :) answered 14 Nov '14, 18:28 1★asif_mak 704●1●6●11 accept rate: 19% will string of length 2 always give yes??? (15 Nov '14, 00:46) nitya2★
 0 String of length 2 is a yes. answered 15 Nov '14, 01:15 1 accept rate: 0%
 0 string of length 2 will always give yes ! answered 15 Nov '14, 02:03 3★newts 25●1 accept rate: 0%
 0 All i will say is if this is the case for u.. u are just at the threshold of getting 100.. look at both your solutions carefully.. u will get to know what u r missing :) And u need not break the loop, the inputs are given such that it never crosses 10^6 answered 15 Nov '14, 02:04 3★shiv93 1●1●3 accept rate: 0%
 0 @nitya follow what @vinayawsm has said you will get 100....!!! answered 15 Nov '14, 20:03 41●1●3●8 accept rate: 33% 1 finally got 100 points ...after 25 submissons... (15 Nov '14, 20:51) nitya2★
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×422

question asked: 14 Nov '14, 18:06

question was seen: 1,132 times

last updated: 15 Nov '14, 20:51