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

×

SISSUES problem

I recently came upon a fairly easy looking problem from an external contest, written by @katana_handler, named SISSUES. My code is: https://ideone.com/KLcWVr . All it does is a really simple approach to the problem, adding whenever input is '+' and vice-versa. Can anyone guide me where I am wrong? Thanks in advance when you see this :)

asked 04 Dec '18, 20:00

shardic's gravatar image

2★shardic
22
accept rate: 0%

edited 04 Dec '18, 20:38


Change line 32 to bool b = true;

link

answered 04 Dec '18, 20:54

the_extractor's gravatar image

4★the_extractor
1627
accept rate: 10%

Istg this is so annoying. I thought I initialised it but never looked back. Thank you so much dude

(04 Dec '18, 22:06) shardic2★

link is not working

link

answered 04 Dec '18, 20:30

abhinavxeon's gravatar image

0★abhinavxeon
1
accept rate: 0%

Sorry, the full-stop messed it up, edited that. Please see to it again. Thanks.

(04 Dec '18, 20:40) shardic2★
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:

×678
×3

question asked: 04 Dec '18, 20:00

question was seen: 80 times

last updated: 04 Dec '18, 22:06