Search found 1 match

by bachelorwhc
Sat Feb 06, 2016 11:58 pm
Forum: Volume 100 (10000-10099)
Topic: 10003 - Cutting Sticks
Replies: 59
Views: 37518

Re: 10003 - Cutting Sticks

Write in python, but get RE always.
I hava check test inputs and it works, but still don't know why got RE.
import os
import math
while True:
wood_len = int(input().replace("\n", ""))
if wood_len == 0:
break
number_of_marks = int(input().replace("\n", ""))
marks = [0]
for mark in input ...

Go to advanced search