QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502966#5619. Floating-Point Format Conversionxiaowuc1100 ✓46ms38096kbJava82.7kb2024-08-03 15:39:592024-08-03 15:40:02

详细


Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 46ms
memory: 38096kb

input:

85
1 41200000
2 E0FFFFFE
3 E11FFFFF
4 88888888
5 00000000
6 11111111
7 22222222
8 33333333
9 44444444
10 55555555
11 66666666
12 77777777
13 99999999
14 E0800000
15 C1100000
16 41200000
17 C1200000
18 41400000
19 41800000
20 42100000
21 20100000
22 20200000
23 20400000
24 20800000
25 1E100000
26 1D1...

output:

1 40000000
2 FF7FFFFE
3 FF800000
4 80000000
5 00000000
6 00000000
7 02088888
8 244CCCCC
9 46888888
10 68AAAAAA
11 7F800000
12 7F800000
13 80000000
14 FF000000
15 BF800000
16 40000000
17 C0000000
18 40800000
19 41000000
20 41800000
21 00020000
22 00040000
23 00080000
24 00100000
25 00000200
26 000000...

result:

ok 85 lines