ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1701. Ostap and Partners

give me some test please!!!
Posted by bilol 4 Apr 2009 16:31
I have wa in 7 test
Re: give me some test please!!!
Posted by Tbilisi SU: Giorgi , Nadira , [Kakia] 4 Apr 2009 21:35
What is your algorithm?
Re: give me some test please!!!
Posted by Programmer 4 Apr 2009 22:07
Check this test
4 3
1 2 100
3 0 100
1 3 -100

Impossible after 3 statements

Edited by author 04.04.2009 22:09
Re: give me some test please!!!
Posted by MeLodyloveyr 14 Mar 2010 08:17
But I think the answer should be "Impossible after 1 statements"...I used BFS and I also got WA on test 7
Re: give me some test please!!!
Posted by Rmynz; 17 May 2014 22:57
afte statement 1 it will be:
0
100
0
problem?!?!?

Edited by author 17.05.2014 22:59
Re: give me some test please!!!
Posted by Felix_Mate 31 Jul 2017 12:28
before AC my prog failed on these tests:
1)
7 3
2 1 1000000000
3 1 15
4 5 -20

answer:
Possible
0
0
1000000000
15
0
20
0

2)
7 4
2 1 1000000000
3 1 15
4 5 -20
4 2 1

answer:
Impossible after 4 statements

3)
8 4
1 2 200
2 3 999999800
3 1 -1000000000
4 0 5

answer:
Possible
0
1000000000
999999800
0
5
0
0
0
Re: give me some test please!!!
Posted by LaVuna [NULP] 28 Nov 2021 23:44
Test 2 is not correct due to statement restrictions.