How can I represent a block will be executed polynomial time with package algorithm?

by Reza   Last Updated October 09, 2019 15:23 PM - source

I want to represent an algorithm where a subsection must be repeated polynomial time. I am using algorithm package. I want to represent something like:

repeat polynomial time
     state 1
     state ..
     if cnd then return 1
return 0

Related Questions

Error using \polylongdiv

Updated September 12, 2016 08:09 AM

Polynom Package Multiplication

Updated April 16, 2017 22:23 PM

Exercise & Solution Page

Updated May 31, 2017 00:23 AM

Horner's Method for polynomial long division

Updated August 28, 2018 01:23 AM