QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#503784#4768. Jumbled Compassxiaowuc1AC ✓1ms3708kbC++172.9kb2024-08-04 01:09:522024-08-04 01:09:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

315
45

output:

90

result:

ok single line: '90'

Test #2:

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

input:

180
270

output:

90

result:

ok single line: '90'

Test #3:

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

input:

45
270

output:

-135

result:

ok single line: '-135'

Test #4:

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

input:

0
45

output:

45

result:

ok single line: '45'

Test #5:

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

input:

0
90

output:

90

result:

ok single line: '90'

Test #6:

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

input:

0
173

output:

173

result:

ok single line: '173'

Test #7:

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

input:

0
184

output:

-176

result:

ok single line: '-176'

Test #8:

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

input:

0
195

output:

-165

result:

ok single line: '-165'

Test #9:

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

input:

0
180

output:

180

result:

ok single line: '180'

Test #10:

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

input:

0
270

output:

-90

result:

ok single line: '-90'

Test #11:

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

input:

0
313

output:

-47

result:

ok single line: '-47'

Test #12:

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

input:

0
359

output:

-1

result:

ok single line: '-1'

Test #13:

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

input:

45
0

output:

-45

result:

ok single line: '-45'

Test #14:

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

input:

45
90

output:

45

result:

ok single line: '45'

Test #15:

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

input:

45
173

output:

128

result:

ok single line: '128'

Test #16:

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

input:

45
184

output:

139

result:

ok single line: '139'

Test #17:

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

input:

45
195

output:

150

result:

ok single line: '150'

Test #18:

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

input:

45
180

output:

135

result:

ok single line: '135'

Test #19:

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

input:

45
313

output:

-92

result:

ok single line: '-92'

Test #20:

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

input:

45
359

output:

-46

result:

ok single line: '-46'

Test #21:

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

input:

90
0

output:

-90

result:

ok single line: '-90'

Test #22:

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

input:

90
45

output:

-45

result:

ok single line: '-45'

Test #23:

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

input:

90
173

output:

83

result:

ok single line: '83'

Test #24:

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

input:

90
184

output:

94

result:

ok single line: '94'

Test #25:

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

input:

90
195

output:

105

result:

ok single line: '105'

Test #26:

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

input:

90
180

output:

90

result:

ok single line: '90'

Test #27:

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

input:

90
270

output:

180

result:

ok single line: '180'

Test #28:

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

input:

90
313

output:

-137

result:

ok single line: '-137'

Test #29:

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

input:

90
359

output:

-91

result:

ok single line: '-91'

Test #30:

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

input:

173
0

output:

-173

result:

ok single line: '-173'

Test #31:

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

input:

173
45

output:

-128

result:

ok single line: '-128'

Test #32:

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

input:

173
90

output:

-83

result:

ok single line: '-83'

Test #33:

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

input:

173
184

output:

11

result:

ok single line: '11'

Test #34:

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

input:

173
195

output:

22

result:

ok single line: '22'

Test #35:

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

input:

173
180

output:

7

result:

ok single line: '7'

Test #36:

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

input:

173
270

output:

97

result:

ok single line: '97'

Test #37:

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

input:

173
313

output:

140

result:

ok single line: '140'

Test #38:

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

input:

173
359

output:

-174

result:

ok single line: '-174'

Test #39:

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

input:

184
0

output:

176

result:

ok single line: '176'

Test #40:

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

input:

184
45

output:

-139

result:

ok single line: '-139'

Test #41:

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

input:

184
90

output:

-94

result:

ok single line: '-94'

Test #42:

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

input:

184
173

output:

-11

result:

ok single line: '-11'

Test #43:

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

input:

184
195

output:

11

result:

ok single line: '11'

Test #44:

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

input:

184
180

output:

-4

result:

ok single line: '-4'

Test #45:

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

input:

184
270

output:

86

result:

ok single line: '86'

Test #46:

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

input:

184
313

output:

129

result:

ok single line: '129'

Test #47:

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

input:

184
359

output:

175

result:

ok single line: '175'

Test #48:

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

input:

195
0

output:

165

result:

ok single line: '165'

Test #49:

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

input:

195
45

output:

-150

result:

ok single line: '-150'

Test #50:

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

input:

195
90

output:

-105

result:

ok single line: '-105'

Test #51:

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

input:

195
173

output:

-22

result:

ok single line: '-22'

Test #52:

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

input:

195
184

output:

-11

result:

ok single line: '-11'

Test #53:

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

input:

195
180

output:

-15

result:

ok single line: '-15'

Test #54:

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

input:

195
270

output:

75

result:

ok single line: '75'

Test #55:

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

input:

195
313

output:

118

result:

ok single line: '118'

Test #56:

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

input:

195
359

output:

164

result:

ok single line: '164'

Test #57:

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

input:

180
0

output:

180

result:

ok single line: '180'

Test #58:

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

input:

180
45

output:

-135

result:

ok single line: '-135'

Test #59:

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

input:

180
90

output:

-90

result:

ok single line: '-90'

Test #60:

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

input:

180
173

output:

-7

result:

ok single line: '-7'

Test #61:

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

input:

180
184

output:

4

result:

ok single line: '4'

Test #62:

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

input:

180
195

output:

15

result:

ok single line: '15'

Test #63:

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

input:

180
313

output:

133

result:

ok single line: '133'

Test #64:

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

input:

180
359

output:

179

result:

ok single line: '179'

Test #65:

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

input:

270
0

output:

90

result:

ok single line: '90'

Test #66:

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

input:

270
45

output:

135

result:

ok single line: '135'

Test #67:

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

input:

270
90

output:

180

result:

ok single line: '180'

Test #68:

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

input:

270
173

output:

-97

result:

ok single line: '-97'

Test #69:

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

input:

270
184

output:

-86

result:

ok single line: '-86'

Test #70:

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

input:

270
195

output:

-75

result:

ok single line: '-75'

Test #71:

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

input:

270
180

output:

-90

result:

ok single line: '-90'

Test #72:

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

input:

270
313

output:

43

result:

ok single line: '43'

Test #73:

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

input:

270
359

output:

89

result:

ok single line: '89'

Test #74:

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

input:

313
0

output:

47

result:

ok single line: '47'

Test #75:

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

input:

313
45

output:

92

result:

ok single line: '92'

Test #76:

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

input:

313
90

output:

137

result:

ok single line: '137'

Test #77:

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

input:

313
173

output:

-140

result:

ok single line: '-140'

Test #78:

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

input:

313
184

output:

-129

result:

ok single line: '-129'

Test #79:

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

input:

313
195

output:

-118

result:

ok single line: '-118'

Test #80:

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

input:

313
180

output:

-133

result:

ok single line: '-133'

Test #81:

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

input:

313
270

output:

-43

result:

ok single line: '-43'

Test #82:

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

input:

313
359

output:

46

result:

ok single line: '46'

Test #83:

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

input:

359
0

output:

1

result:

ok single line: '1'

Test #84:

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

input:

359
45

output:

46

result:

ok single line: '46'

Test #85:

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

input:

359
90

output:

91

result:

ok single line: '91'

Test #86:

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

input:

359
173

output:

174

result:

ok single line: '174'

Test #87:

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

input:

359
184

output:

-175

result:

ok single line: '-175'

Test #88:

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

input:

359
195

output:

-164

result:

ok single line: '-164'

Test #89:

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

input:

359
180

output:

-179

result:

ok single line: '-179'

Test #90:

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

input:

359
270

output:

-89

result:

ok single line: '-89'

Test #91:

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

input:

359
313

output:

-46

result:

ok single line: '-46'

Test #92:

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

input:

345
345

output:

0

result:

ok single line: '0'