QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#95942#4849. LubeniceGuanYunchangAC ✓2ms3456kbC++20711b2023-04-12 16:27:002023-04-12 16:27:01

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3368kb

input:

1000 1000 1000 1000 1000

output:

3000

result:

ok single line: '3000'

Test #2:

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

input:

0 0 400 0 899

output:

420

result:

ok single line: '420'

Test #3:

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

input:

0 0 400 0 900

output:

420

result:

ok single line: '420'

Test #4:

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

input:

14 7 11 46 27

output:

50

result:

ok single line: '50'

Test #5:

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

input:

15 29 49 11 24

output:

93

result:

ok single line: '93'

Test #6:

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

input:

35 9 22 20 42

output:

72

result:

ok single line: '72'

Test #7:

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

input:

4 28 3 36 1

output:

52

result:

ok single line: '52'

Test #8:

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

input:

31 15 36 41 35

output:

88

result:

ok single line: '88'

Test #9:

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

input:

32 45 11 12 10

output:

89

result:

ok single line: '89'

Test #10:

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

input:

44 39 2 42 1

output:

105

result:

ok single line: '105'

Test #11:

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

input:

26 28 10 49 47

output:

84

result:

ok single line: '84'

Test #12:

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

input:

0 0 999 1000 1

output:

1000

result:

ok single line: '1000'

Test #13:

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

input:

1 2 26 3 40

output:

29

result:

ok single line: '29'

Test #14:

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

input:

29 36 4 14 26

output:

74

result:

ok single line: '74'

Test #15:

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

input:

31 15 36 48 39

output:

92

result:

ok single line: '92'

Test #16:

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

input:

9 43 27 11 36

output:

79

result:

ok single line: '79'

Test #17:

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

input:

14 37 39 40 41

output:

92

result:

ok single line: '92'

Test #18:

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

input:

18 18 7 7 7

output:

43

result:

ok single line: '43'

Test #19:

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

input:

20 31 30 21 35

output:

81

result:

ok single line: '81'

Test #20:

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

input:

37 22 30 43 30

output:

96

result:

ok single line: '96'

Test #21:

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

input:

5 29 10 24 34

output:

51

result:

ok single line: '51'

Test #22:

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

input:

31 27 25 25 32

output:

84

result:

ok single line: '84'

Test #23:

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

input:

0 0 999 1000 2

output:

1000

result:

ok single line: '1000'

Test #24:

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

input:

42 9 13 39 13

output:

77

result:

ok single line: '77'

Test #25:

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

input:

30 10 9 50 25

output:

70

result:

ok single line: '70'

Test #26:

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

input:

10 31 34 47 38

output:

82

result:

ok single line: '82'

Test #27:

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

input:

18 5 35 48 7

output:

65

result:

ok single line: '65'

Test #28:

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

input:

21 35 19 20 35

output:

76

result:

ok single line: '76'

Test #29:

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

input:

46 2 43 48 4

output:

94

result:

ok single line: '94'

Test #30:

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

input:

19 2 38 45 6

output:

63

result:

ok single line: '63'

Test #31:

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

input:

19 3 24 25 3

output:

47

result:

ok single line: '47'

Test #32:

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

input:

16 1 6 39 19

output:

40

result:

ok single line: '40'

Test #33:

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

input:

347 361 125 79 72

output:

833

result:

ok single line: '833'

Test #34:

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

input:

0 0 999 1000 3

output:

1000

result:

ok single line: '1000'

Test #35:

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

input:

632 820 248 993 308

output:

2073

result:

ok single line: '2073'

Test #36:

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

input:

0 0 999 1000 4

output:

1001

result:

ok single line: '1001'

Test #37:

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

input:

0 0 0 400 399

output:

240

result:

ok single line: '240'

Test #38:

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

input:

0 0 0 400 499

output:

260

result:

ok single line: '260'

Test #39:

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

input:

0 0 0 400 500

output:

260

result:

ok single line: '260'

Test #40:

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

input:

0 0 400 0 799

output:

400

result:

ok single line: '400'

Extra Test:

score: 0
Extra Test Passed