QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#587061#3980. House Lawnucup-team4744#AC ✓2ms3816kbC++201.3kb2024-09-24 17:21:052024-09-24 17:21:05

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3580kb

input:

7000 4
Grass Slayer 2000,9999,10,120,120
Slow-Mowe,999,1,120,240
Eco-cut X2,5499,2,25,35
Mowepower,5499,3,25,35

output:

Eco-cut X2
Mowepower

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

100000 4
Grass Slayer 2000,9999,10,120,120
Slow-Mowe,999,1,120,240
Eco-cut X2,5499,2,25,35
Mowepower,5499,3,25,35

output:

no such mower

result:

ok single line: 'no such mower'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

5040 100
Mower 100,1,1,1,1
Mower 99,1,1,1,1
Mower 98,1,1,1,1
Mower 97,1,1,1,1
Mower 96,1,1,1,1
Mower 95,1,1,1,1
Mower 94,1,1,1,1
Mower 93,1,1,1,1
Mower 92,1,1,1,1
Mower 91,1,1,1,1
Mower 90,1,1,1,1
Mower 89,1,1,1,1
Mower 88,1,1,1,1
Mower 87,1,1,1,1
Mower 86,1,1,1,1
Mower 85,1,1,1,1
Mower 84,1,1,1,1
M...

output:

Mower 100
Mower 99
Mower 98
Mower 97
Mower 96
Mower 95
Mower 94
Mower 93
Mower 92
Mower 91
Mower 90
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 79
Mower 78
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 71
Mower 70
Mower 69
Mower 68
Mo...

result:

ok 100 lines

Test #4:

score: 0
Accepted
time: 0ms
memory: 3512kb

input:

10080 3
Second week,1,10,10080,10080
Off one,1,2,5039,5041
Exact right,1,2,5040,5040

output:

Second week
Exact right

result:

ok 2 lines

Test #5:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

100000 3
Second week,1,10,10080,10080
Off one,1,2,5039,5041
Exact right,1,2,5040,5040

output:

no such mower

result:

ok single line: 'no such mower'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3524kb

input:

10070 1
No int,1,1,1000,1

output:

no such mower

result:

ok single line: 'no such mower'

Test #7:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

13599 100
Mower 100,49032,56,8539,9318
Mower 99,66791,78,3026,4328
Mower 98,68802,34,7310,7072
Mower 97,30805,71,367,9000
Mower 96,50525,19,6273,2299
Mower 95,81844,96,7841,1290
Mower 94,65628,97,2450,1535
Mower 93,12089,97,8356,5513
Mower 92,96041,13,2390,7316
Mower 91,22194,32,3621,9819
Mower 90,3...

output:

Mower 68

result:

ok single line: 'Mower 68'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

68705 100
Mower 100,40504,22,3555,2933
Mower 99,33822,66,7856,4632
Mower 98,58339,24,563,9523
Mower 97,4972,90,3381,1761
Mower 96,54910,81,4549,5
Mower 95,87589,69,3886,9149
Mower 94,13260,54,1543,1250
Mower 93,90953,94,2552,8708
Mower 92,7234,39,6398,3365
Mower 91,63023,15,1154,7210
Mower 90,71282,...

output:

Mower 32

result:

ok single line: 'Mower 32'

Test #9:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

89932 100
Mower 100,63000,70,6880,3522
Mower 99,73972,26,442,9778
Mower 98,33775,89,9980,2975
Mower 97,77418,13,2330,1055
Mower 96,81262,76,509,4718
Mower 95,34700,88,6439,4446
Mower 94,72378,6,5845,6499
Mower 93,60070,42,3911,5412
Mower 92,45084,84,1176,7978
Mower 91,7741,75,1044,4183
Mower 90,7347...

output:

Mower 19

result:

ok single line: 'Mower 19'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3472kb

input:

52932 100
Mower 100,57631,98,8035,1102
Mower 99,39061,52,6666,7685
Mower 98,85927,4,5413,99
Mower 97,40017,3,8137,6445
Mower 96,77527,17,7176,8762
Mower 95,277,13,8766,7952
Mower 94,7282,4,6749,3549
Mower 93,49950,73,8190,5292
Mower 92,26671,54,1578,4808
Mower 91,6944,25,1694,621
Mower 90,96777,63,2...

output:

Mower 95

result:

ok single line: 'Mower 95'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

55471 100
Mower 100,20,61,3514,4555
Mower 99,90348,53,2401,7611
Mower 98,30475,9,7270,7586
Mower 97,76181,27,7967,5535
Mower 96,47360,17,3147,7849
Mower 95,58231,50,8612,5749
Mower 94,51845,88,223,9778
Mower 93,2053,94,5864,9828
Mower 92,72052,42,2620,4103
Mower 91,3577,65,3799,5772
Mower 90,3581,12...

output:

Mower 72

result:

ok single line: 'Mower 72'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3516kb

input:

60022 100
Mower 100,45599,63,6761,6450
Mower 99,43363,97,5429,2536
Mower 98,90074,6,8326,2595
Mower 97,64529,50,5380,6510
Mower 96,65657,46,1198,4162
Mower 95,91252,54,3449,9286
Mower 94,82919,59,581,1805
Mower 93,98355,67,1905,10061
Mower 92,4700,97,6823,1986
Mower 91,60687,59,1851,9954
Mower 90,33...

output:

Mower 90

result:

ok single line: 'Mower 90'

Test #13:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

40203 100
Mower 100,13738,86,3470,5880
Mower 99,72920,19,8254,6763
Mower 98,11475,42,4631,3706
Mower 97,93487,75,9946,8590
Mower 96,53071,35,7789,4943
Mower 95,12164,65,3639,9025
Mower 94,38440,47,8784,2597
Mower 93,22931,59,9995,4594
Mower 92,76716,72,8157,8248
Mower 91,99505,56,5170,5356
Mower 90,...

output:

Mower 14

result:

ok single line: 'Mower 14'

Test #14:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

20782 100
Mower 100,88285,40,4238,49
Mower 99,78112,84,7530,3887
Mower 98,24719,91,2774,4264
Mower 97,52688,80,7316,6484
Mower 96,12178,34,7717,972
Mower 95,81744,51,3277,2628
Mower 94,6470,24,1883,8660
Mower 93,90800,39,8649,3659
Mower 92,34340,79,3779,7839
Mower 91,34796,15,1905,9241
Mower 90,8327...

output:

Mower 77

result:

ok single line: 'Mower 77'

Test #15:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

67630 100
Mower 100,16459,35,874,7898
Mower 99,95270,7,8570,5892
Mower 98,55158,75,8794,2053
Mower 97,96164,98,9391,2507
Mower 96,67031,8,6257,6606
Mower 95,63001,20,5232,4212
Mower 94,50128,10,1418,2462
Mower 93,65959,98,9158,2381
Mower 92,77463,47,5920,4201
Mower 91,92709,85,6804,4717
Mower 90,884...

output:

Mower 7

result:

ok single line: 'Mower 7'

Test #16:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

82939 100
Mower 100,71510,83,4250,6892
Mower 99,27858,44,3605,8413
Mower 98,4336,46,2413,125
Mower 97,89058,20,9407,4422
Mower 96,49158,95,3944,15
Mower 95,86047,52,7317,7545
Mower 94,27901,96,7829,4008
Mower 93,67501,22,9958,6516
Mower 92,45494,85,529,5081
Mower 91,50751,70,4300,6732
Mower 90,46610...

output:

Mower 48

result:

ok single line: 'Mower 48'

Test #17:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

98955 100
Mower 100,1000,8,1162,8161
Mower 99,1000,36,2674,8426
Mower 98,1000,56,7453,6535
Mower 97,1000,63,6033,7181
Mower 96,1000,14,132,9827
Mower 95,1000,38,4544,6366
Mower 94,1000,9,7550,1441
Mower 93,1000,32,2127,7065
Mower 92,1000,46,5514,9254
Mower 91,1000,68,4145,8753
Mower 90,1000,12,774,9...

output:

Mower 98
Mower 97
Mower 95
Mower 92
Mower 91
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 83
Mower 82
Mower 81
Mower 80
Mower 78
Mower 76
Mower 75
Mower 74
Mower 73
Mower 71
Mower 70
Mower 69
Mower 65
Mower 64
Mower 62
Mower 61
Mower 59
Mower 58
Mower 57
Mower 56
Mower 55
Mower 54
Mower 53
Mow...

result:

ok 67 lines

Test #18:

score: 0
Accepted
time: 2ms
memory: 3520kb

input:

25770 100
Mower 100,1000,35,6973,3505
Mower 99,1000,7,6033,8901
Mower 98,1000,36,4451,8153
Mower 97,1000,7,3503,7588
Mower 96,1000,42,804,5848
Mower 95,1000,95,3919,4539
Mower 94,1000,36,3530,6229
Mower 93,1000,41,1030,9833
Mower 92,1000,22,2880,5900
Mower 91,1000,48,851,7487
Mower 90,1000,3,6444,10...

output:

Mower 100
Mower 99
Mower 98
Mower 96
Mower 95
Mower 94
Mower 93
Mower 92
Mower 91
Mower 90
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 78
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 71
Mower 70
Mower 69
Mower 68
Mower 67
Mower 66
Mo...

result:

ok 93 lines

Test #19:

score: 0
Accepted
time: 2ms
memory: 3800kb

input:

26404 100
Mower 100,1000,92,5101,6673
Mower 99,1000,8,4880,7675
Mower 98,1000,47,6313,7177
Mower 97,1000,83,8281,7282
Mower 96,1000,36,5592,5611
Mower 95,1000,74,304,2070
Mower 94,1000,5,2602,6291
Mower 93,1000,64,5994,9657
Mower 92,1000,61,9453,7342
Mower 91,1000,71,6825,1011
Mower 90,1000,69,4463,...

output:

Mower 100
Mower 99
Mower 98
Mower 97
Mower 96
Mower 95
Mower 93
Mower 92
Mower 91
Mower 90
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 82
Mower 81
Mower 80
Mower 79
Mower 78
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 71
Mower 70
Mower 69
Mower 68
Mower 67
Mower 66
Mo...

result:

ok 94 lines

Test #20:

score: 0
Accepted
time: 2ms
memory: 3768kb

input:

24634 100
Mower 100,1000,1,6842,5499
Mower 99,1000,21,9585,2644
Mower 98,1000,14,7433,4236
Mower 97,1000,80,5312,3540
Mower 96,1000,94,3472,8365
Mower 95,1000,65,8890,3491
Mower 94,1000,71,5673,6266
Mower 93,1000,64,6890,7794
Mower 92,1000,46,2646,2575
Mower 91,1000,43,5466,10059
Mower 90,1000,64,51...

output:

Mower 99
Mower 98
Mower 97
Mower 96
Mower 95
Mower 94
Mower 93
Mower 92
Mower 91
Mower 90
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 79
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 71
Mower 70
Mower 69
Mower 68
Mower 67
Mower 66
Mow...

result:

ok 94 lines

Test #21:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

67947 100
Mower 100,1000,63,785,7197
Mower 99,1000,75,3092,3096
Mower 98,1000,7,8539,1284
Mower 97,1000,64,2940,2562
Mower 96,1000,36,830,1987
Mower 95,1000,88,8545,8847
Mower 94,1000,25,5998,1168
Mower 93,1000,16,4349,1373
Mower 92,1000,5,3181,2160
Mower 91,1000,60,9273,9533
Mower 90,1000,1,8095,68...

output:

Mower 99
Mower 97
Mower 96
Mower 95
Mower 94
Mower 93
Mower 91
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 70
Mower 69
Mower 67
Mower 66
Mower 65
Mower 63
Mower 62
Mower 61
Mower 60
Mower 59
Mow...

result:

ok 81 lines

Test #22:

score: 0
Accepted
time: 2ms
memory: 3580kb

input:

22160 100
Mower 100,1000,67,1661,4056
Mower 99,1000,89,5543,1612
Mower 98,1000,46,2752,3399
Mower 97,1000,35,4537,9962
Mower 96,1000,59,9986,3316
Mower 95,1000,94,9362,9344
Mower 94,1000,14,3814,40
Mower 93,1000,64,5697,7936
Mower 92,1000,58,3205,52
Mower 91,1000,46,8058,6195
Mower 90,1000,65,4713,6...

output:

Mower 100
Mower 99
Mower 98
Mower 97
Mower 96
Mower 95
Mower 94
Mower 93
Mower 92
Mower 91
Mower 90
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 79
Mower 78
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 71
Mower 69
Mower 68
Mower 67
Mo...

result:

ok 92 lines

Test #23:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

84251 100
Mower 100,1000,39,758,6568
Mower 99,1000,3,1904,5900
Mower 98,1000,44,5740,3723
Mower 97,1000,59,6842,4009
Mower 96,1000,79,4657,7446
Mower 95,1000,98,8081,2443
Mower 94,1000,98,2828,7464
Mower 93,1000,3,1967,2240
Mower 92,1000,45,3050,6406
Mower 91,1000,10,9001,9579
Mower 90,1000,11,5716,...

output:

Mower 98
Mower 97
Mower 96
Mower 95
Mower 94
Mower 92
Mower 88
Mower 87
Mower 85
Mower 84
Mower 82
Mower 81
Mower 80
Mower 79
Mower 77
Mower 76
Mower 75
Mower 72
Mower 71
Mower 70
Mower 69
Mower 67
Mower 66
Mower 65
Mower 64
Mower 63
Mower 60
Mower 58
Mower 57
Mower 56
Mower 55
Mower 54
Mower 53
Mow...

result:

ok 77 lines

Test #24:

score: 0
Accepted
time: 2ms
memory: 3572kb

input:

97270 100
Mower 100,1000,20,6384,1675
Mower 99,1000,40,3327,4023
Mower 98,1000,5,3887,1263
Mower 97,1000,47,2779,6145
Mower 96,1000,8,6295,4670
Mower 95,1000,29,3365,6529
Mower 94,1000,54,4532,7553
Mower 93,1000,7,5026,1334
Mower 92,1000,8,9013,7764
Mower 91,1000,80,2425,1422
Mower 90,1000,13,744,54...

output:

Mower 100
Mower 99
Mower 97
Mower 95
Mower 94
Mower 91
Mower 89
Mower 88
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 79
Mower 77
Mower 76
Mower 74
Mower 73
Mower 72
Mower 71
Mower 69
Mower 68
Mower 64
Mower 63
Mower 62
Mower 61
Mower 60
Mower 59
Mower 58
Mower 57
Mower 53
Mo...

result:

ok 73 lines

Test #25:

score: 0
Accepted
time: 2ms
memory: 3584kb

input:

25721 100
Mower 100,1000,67,3286,9674
Mower 99,1000,47,4191,7748
Mower 98,1000,13,9866,9281
Mower 97,1000,83,2075,3269
Mower 96,1000,32,7353,1743
Mower 95,1000,51,2911,7051
Mower 94,1000,24,9609,156
Mower 93,1000,82,3403,6066
Mower 92,1000,26,4940,7003
Mower 91,1000,45,54,441
Mower 90,1000,67,1327,8...

output:

Mower 100
Mower 99
Mower 98
Mower 97
Mower 96
Mower 95
Mower 94
Mower 93
Mower 92
Mower 91
Mower 90
Mower 89
Mower 88
Mower 87
Mower 86
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 79
Mower 78
Mower 77
Mower 76
Mower 75
Mower 74
Mower 73
Mower 72
Mower 71
Mower 70
Mower 69
Mower 68
Mo...

result:

ok 94 lines

Test #26:

score: 0
Accepted
time: 2ms
memory: 3596kb

input:

43011 100
Mower 100,1000,20,6571,9383
Mower 99,1000,51,6679,1796
Mower 98,1000,8,3472,5373
Mower 97,1000,58,1945,2886
Mower 96,1000,69,3484,8411
Mower 95,1000,34,2143,2153
Mower 94,1000,5,2712,8051
Mower 93,1000,60,1280,2239
Mower 92,1000,57,337,10001
Mower 91,1000,43,6608,8901
Mower 90,1000,9,2519,...

output:

Mower 100
Mower 99
Mower 97
Mower 96
Mower 95
Mower 93
Mower 91
Mower 89
Mower 88
Mower 87
Mower 85
Mower 84
Mower 83
Mower 82
Mower 81
Mower 80
Mower 79
Mower 78
Mower 77
Mower 76
Mower 74
Mower 73
Mower 72
Mower 71
Mower 70
Mower 69
Mower 68
Mower 67
Mower 66
Mower 64
Mower 63
Mower 62
Mower 60
Mo...

result:

ok 81 lines

Test #27:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

594719 100
)-/T)(0fXJjs+|:IhOo8vp1pBbT:(MK+?=ez}fiGvJ:U4DOw=h"UNouQn:Nx,9393,41,10078,1
)zIFR ]%FBN0@(#1dl@`]JFbZYON6Shv^]8`?=vtCxCdi0'@gSIeUP[YQ(?`,9393,76,7824,2255
nz|:\M;e7d7G_b?rILSm?FF(v4w2#T)w13{1[{/7oU0.l5hYaR0Hhphzb]Xv,9393,46,10078,1
Rx;?OE$?8:m?%{r:(H0(E=bQ#\5t)=5w^1j'.3[[(t3q-]&V_Ceai lp...

output:

G\S=b?g*(=9\4WU|3M4C)a]@95Ds/HJB4fz3*eLHlOoE;-/Y&Z9#M"<[z3i&
Q1+UzupM-s"C1Bc/*XXwNmmAVcD(4"z[$KB9-qaS{D\MvD^=dTfNx9q(xtuG
I1.7=Rw2$g\xYb|6Z;Oz4Uhu!PyR]r7Py7?%kB&_y\~%+%x&[#A3C L.KOrJ
.}efhx|z HK\H<|b4[l#3Rwai9>&Dv@Pr7Xuu)+I[VeZdfr3?ZYxNGkxF\fA
g2$y4Iz>{vW2[%~.:~7R$1t@*T<==}p68%Ug60loj g(vY:E6\zw/Y;B...

result:

ok 20 lines