Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 2, 2021 14:05Yuriy LyfenkoYuriy LyfenkoScore: 5,054Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:055,01937,677,01315,059,0001,003,0002,392,064
2Jun 2, 2021 14:055,02738,957,25315,082,0001,005,0002,527,232
3Jun 2, 2021 14:055,02846,012,67115,083,0001,005,0002,392,064
4Jun 2, 2021 14:055,03131,860,66514,088,0002,012,0002,265,088
5Jun 2, 2021 14:055,03432,045,25115,104,0001,006,0002,265,088
6Jun 2, 2021 14:055,03836,618,24215,115,0001,007,0002,265,088
7Jun 2, 2021 14:055,05442,621,02114,151,0002,021,0002,510,848
8Jun 2, 2021 14:055,06433,304,17515,194,0001,012,0002,506,752
9Jun 2, 2021 14:055,07441,931,90715,223,0001,014,0002,265,088
10Jun 2, 2021 14:055,24271,930,05216,774,25702,285,568
11Jun 2, 2021 14:055,25876,425,19716,824,33402,277,376
12Jun 2, 2021 14:055,27178,714,85516,868,73602,281,472