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:47Yuriy LyfenkoYuriy LyfenkoScore: 5,068Success
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:475,02531,804,69814,071,0002,010,0002,392,064
2Jun 2, 2021 14:475,03132,109,45514,088,0002,012,0002,265,088
3Jun 2, 2021 14:475,03634,762,41914,101,0002,014,0002,265,088
4Jun 2, 2021 14:475,05336,088,82215,158,0001,010,0002,265,088
5Jun 2, 2021 14:475,05431,075,41214,153,0002,021,0002,265,088
6Jun 2, 2021 14:475,05940,368,50014,166,0002,023,0002,396,160
7Jun 2, 2021 14:475,06833,618,99214,190,0002,027,0002,265,088
8Jun 2, 2021 14:475,07641,991,94214,214,0002,030,0002,523,136
9Jun 2, 2021 14:475,10137,133,09315,304,0001,020,0002,265,088
10Jun 2, 2021 14:475,24880,236,27216,792,89302,273,280
11Jun 2, 2021 14:475,28779,681,88816,919,92502,281,472
12Jun 2, 2021 14:475,29074,171,14016,927,17602,281,472