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


GSS1 spoj, getting wa on the 9th tc

i am not able to find my error,can anyone help me find it in my code. link :my code

asked 22 Jul '18, 22:22

mayank2510's gravatar image

accept rate: 0%


This question has been asked more than thousand time,"WA in gss1","TLE in gss1",why dont u search before asking!!U can just compare the codes with the correct code!!

(22 Jul '18, 22:54) vivek_19982996★

did that as well, but still not able to figure out my mistake

(22 Jul '18, 23:57) mayank25104★

recheck your merging(formula) for bestleftsum,bestrightsum.

(23 Jul '18, 12:42) vivek_19982996★
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 22 Jul '18, 22:22

question was seen: 120 times

last updated: 23 Jul '18, 12:42