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 17, 2024 02:44Joad NacerJoad NacerScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 02:445,44433,685,29016,396,0001,024,0002,289,664
2Apr 17, 2024 02:445,44441,637,56816,397,0001,024,0002,273,280
3Apr 17, 2024 02:445,45340,933,54016,425,0001,026,0002,289,664
4Apr 17, 2024 02:445,45532,370,44016,430,0001,026,0002,281,472
5Apr 17, 2024 02:445,46151,475,88816,448,0001,028,0002,277,376
6Apr 17, 2024 02:445,47338,239,20816,482,0001,030,0002,289,664
7Apr 17, 2024 02:445,47633,591,20316,494,0001,030,0002,289,664
8Apr 17, 2024 02:445,50344,615,62017,610,00002,289,664
9Apr 17, 2024 02:445,52347,812,68416,633,0001,039,0002,289,664
10Apr 17, 2024 02:445,68578,463,16018,191,14102,301,952
11Apr 17, 2024 02:445,69380,867,27118,217,03402,183,168
12Apr 17, 2024 02:445,74887,368,21018,392,09502,297,856