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 listApr 24, 2024 23:29Joad NacerJoad NacerScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2024 23:294,91436,551,86414,677,0001,048,0002,289,664
2Apr 24, 2024 23:294,91633,696,69514,682,0001,048,0002,289,664
3Apr 24, 2024 23:294,94444,207,24513,843,0001,977,0002,289,664
4Apr 24, 2024 23:294,95432,674,23414,863,000990,0002,289,664
5Apr 24, 2024 23:294,95833,032,93613,882,0001,983,0002,269,184
6Apr 24, 2024 23:294,95832,824,50513,884,0001,983,0002,289,664
7Apr 24, 2024 23:294,96146,931,53813,890,0001,984,0002,289,664
8Apr 24, 2024 23:294,96332,910,58413,895,0001,985,0002,289,664
9Apr 24, 2024 23:294,97240,664,65214,916,000994,0002,289,664
10Apr 24, 2024 23:295,14377,501,35316,457,34902,297,856
11Apr 24, 2024 23:295,16786,364,33816,533,68802,179,072
12Apr 24, 2024 23:295,17187,143,71616,546,07402,179,072