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 listJul 8, 2021 15:28Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 15:2400000Error: died or killedstderr
2Jul 8, 2021 15:2600000Error: expected "977864 ", got "977963 "stderr
3Jul 8, 2021 15:284,52228,926,12714,471,00002,392,064
4Jul 8, 2021 15:284,52832,462,75414,490,00002,392,064
5Jul 8, 2021 15:284,52934,107,55314,492,00002,269,184
6Jul 8, 2021 15:284,52938,718,52514,493,00002,527,232
7Jul 8, 2021 15:284,53430,169,29114,508,00002,392,064
8Jul 8, 2021 15:284,53930,130,22213,488,0001,037,0002,527,232
9Jul 8, 2021 15:284,54739,727,37514,550,00002,527,232
10Jul 8, 2021 15:284,54828,841,85814,555,00002,502,656
11Jul 8, 2021 15:284,55333,820,00514,569,00002,527,232
12Jul 8, 2021 15:284,72380,515,75815,112,41202,273,280
13Jul 8, 2021 15:284,725104,256,29015,119,33002,273,280
14Jul 8, 2021 15:284,73992,844,17715,164,52202,269,184