QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#83438#3589. Invested MoneyDaluca#WA 2ms3416kbC++141.3kb2023-03-01 22:12:342023-03-01 22:13:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

Sat 5
5 4 3 1 1

output:

25

result:

ok single line: '25'

Test #2:

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

input:

Fri 91
60 86 79 109 74 120 50 105 121 15 80 24 52 127 57 4 9 102 93 91 46 122 22 8 21 31 67 81 95 88 115 43 78 37 128 28 38 112 99 130 106 49 116 39 108 119 16 84 18 129 114 10 44 123 113 45 29 14 72 23 87 126 56 77 58 30 51 63 70 101 100 7 92 107 64 85 53 25 98 17 71 35 66 32 73 65 94 42 36 59 11

output:

0

result:

ok single line: '0'

Test #3:

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

input:

Sat 91
33 86 37 15 50 101 52 59 10 53 124 80 23 102 39 95 106 26 60 32 16 65 81 71 122 64 123 22 29 116 46 129 79 117 113 30 74 43 75 109 108 58 121 18 8 40 73 57 31 67 115 68 128 88 36 120 89 100 94 110 44 9 99 54 11 5 66 107 47 114 24 61 127 96 85 25 103 82 17 78 130 12 45 38 72 19 93 51 131 87 92

output:

2

result:

ok single line: '2'

Test #4:

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

input:

Sun 91
30 17 103 19 24 12 74 58 73 116 51 102 23 107 101 115 89 69 132 47 114 62 90 118 27 25 20 79 13 46 100 108 9 6 122 54 111 87 97 61 26 11 94 53 38 82 95 32 40 67 10 59 130 37 45 33 96 117 41 65 55 31 110 124 121 39 76 44 34 75 93 88 131 128 129 109 48 104 86 125 80 16 83 68 52 81 72 123 60 18 66

output:

1

result:

ok single line: '1'

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 3416kb

input:

Tue 54
466997567 832713610 396128276 34149457 893059888 40452010 466926572 870227112 857615746 106193882 834532609 460923177 710229626 89982053 641177115 257457002 489171192 791834201 578232129 153420051 341581265 318800291 507136992 380609404 24764192 195645814 769787913 958962989 405273398 6731136...

output:

0

result:

wrong answer 1st lines differ - expected: '1', found: '0'