Who can give me some test data? I always get WA.
Послано
Li Yi 1 окт 2001 13:16
Re: Who can give me some test data? I always get WA.
maxlongint maxlongint
2
2
1 1
2
2
Good Luck !!
Re: Who can give me some test data? I always get WA.
Послано
Li, Yi 3 окт 2001 13:05
Both of the answers are zero, is that right?
> maxlongint maxlongint
> 2
> 2
>
> 1 1
> 2
> 2
>
> Good Luck !!
more
1 maxlongint
2
2
Good Luck !
Re: more
All Tests You Give I'm Right But I'm WA on Test7
Can you give me more
Edited by author 31.08.2005 18:40
Re: more
Послано
it4.kp 10 окт 2005 02:14
Test:
1 2147483647
20
2
Answer:
84672315
Test:
1 2147483647
13
3
Answer:
77520
Re: more
Послано
billy 22 окт 2008 13:11
thanks
Re: more
I also got wa on test7,but the answer to your test is right.help.
Re: Who can give me some test data? I always get WA.
you kan use srank() function generate some random Numbers.then get answers!
INPUT:
11445 15494 4 4
15058 26207 4 2
12750 12846 8 4
732 2989 9 3
749 12704 1 7
14656 26121 14 7
16994 21479 9 3
4648 19157 8 2
12866 14795 10 7
9980 30071 1 9
9052 17238 11 2
10029 19550 4 8
20819 23330 15 6
8962 30778 1 3
6203 19518 3 3
11637 31672 4 5
21687 23438 1 2
18506 19510 6 10
17544 25821 5 3
1348 10295 15 4
374 11047 5 4
18148 24741 10 6
915 13370 11 2
20304 20342 3 6
21842 26940 15 10
3256 23852 7 8
6582 23422 2 9
12158 21258 4 10
20670 29891 14 6
8045 12108 4 8
3143 7795 3 9
23581 25647 15 6
9414 31532 3 5
240 2698 1 2
13974 28320 8 2
22376 27437 12 2
3448 15240 2 3
26614 28463 5 8
1 100000000 20 2
ANSWER:
0
342
0
0
1
0
1
2928
0
0
286
0
0
1
28
20
0
0
70
0
21
0
154
0
0
0
2
0
0
0
6
0
15
4
3148
76
8
1
373295
Re: Who can give me some test data? I always get WA.
Little correction to above answers :)
one before the last and some other tests will result 0 instead of 1
and the answer 21 should be 20
Re: Who can give me some test data? I always get WA.
Some of your data is wrong →_→
Re: Who can give me some test data? I always get WA.
Послано
Sirko 20 мар 2015 01:59
Also, for
16994 21479 9 3
correct answer is 0, not 1