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 listMar 16, 2023 00:25Alexander MonakovAlexander MonakovScore: 8,186Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:255,49075,659,19217,566,82602,207,744
2Mar 16, 2023 00:255,49091,995,52617,569,18602,199,552
3Mar 16, 2023 00:255,51875,191,90717,656,68602,203,648
4Mar 16, 2023 00:258,17544,040,24419,117,0007,043,0002,314,240
5Mar 16, 2023 00:258,17847,667,35317,111,0009,058,0002,457,600
6Mar 16, 2023 00:258,18349,613,26718,128,0008,056,0002,387,968
7Mar 16, 2023 00:258,18645,591,55219,142,0007,052,0002,318,336
8Mar 16, 2023 00:258,19351,973,46915,126,00011,092,0002,486,272
9Mar 16, 2023 00:258,19848,486,92017,152,0009,080,0002,387,968
10Mar 16, 2023 00:258,21551,179,93317,189,0009,100,0002,486,272
11Mar 16, 2023 00:258,22950,103,15520,256,0006,076,0002,490,368
12Mar 16, 2023 00:258,24448,001,80915,219,00011,161,0002,363,392