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

×

Strassen algorithm not fast enough for RRFRNDS

Reading the editorial for RRFRNDS problem from COOK48 it describes a method to solve the problem using Strassen algorithm, but mine solution using is TLE, may someone help me?

RRFRNDS editorial

If someone have ideas to optimize this in python it would be great! python implementation of Strassen algorithm

Also I saw some posts asking for references of the Strassen algorithm, this implementation + wikipedia is enough to understand it.

!!EDIT

Apparently it isn't fast enough in c++ either c++ implementation of Strassen algorithm

asked 25 Jul '14, 10:06

vicfred's gravatar image

3★vicfred
1234
accept rate: 0%

edited 25 Jul '14, 19:17

did anybody solve this problem using Strassen algorithm?

(25 Jul '14, 19:17) vicfred3★
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
×825
×717
×518
×263
×8

question asked: 25 Jul '14, 10:06

question was seen: 4,115 times

last updated: 25 Jul '14, 19:17