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 listMay 23, 2021 18:49Yuriy LyfenkoYuriy LyfenkoScore: 5,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:495,06943,907,90814,195,0002,027,0002,392,064
2May 23, 2021 18:495,10337,744,48814,287,0002,041,0002,265,088
3May 23, 2021 18:495,10439,893,81116,334,00002,527,232
4May 23, 2021 18:495,10641,231,73015,317,0001,021,0002,265,088
5May 23, 2021 18:495,10935,234,16516,349,00002,506,752
6May 23, 2021 18:495,11432,384,90014,321,0002,045,0002,265,088
7May 23, 2021 18:495,12348,014,07616,393,00002,265,088
8May 23, 2021 18:495,14137,309,04316,451,00002,265,088
9May 23, 2021 18:495,14838,871,39116,475,00002,392,064
10May 23, 2021 18:495,31379,928,61617,002,42402,277,376
11May 23, 2021 18:495,32482,793,76017,036,38202,273,280
12May 23, 2021 18:495,33459,503,59917,069,65502,277,376