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 16, 2024 23:12Joad NacerJoad NacerScore: 5,774Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 23:125,70350,230,71317,237,0001,013,0002,289,664
2Apr 16, 2024 23:125,72342,463,71516,278,0002,034,0002,289,664
3Apr 16, 2024 23:125,72343,697,58816,280,0002,035,0002,289,664
4Apr 16, 2024 23:125,75440,841,09217,391,0001,023,0002,289,664
5Apr 16, 2024 23:125,75644,399,69218,419,00002,523,136
6Apr 16, 2024 23:125,77035,807,08917,438,0001,025,0002,289,664
7Apr 16, 2024 23:125,77440,812,75817,450,0001,026,0002,265,088
8Apr 16, 2024 23:125,78243,011,69417,475,0001,027,0002,387,968
9Apr 16, 2024 23:125,78946,433,68017,497,0001,029,0002,273,280
10Apr 16, 2024 23:125,96283,154,98319,079,45302,301,952
11Apr 16, 2024 23:125,96983,731,55419,099,22102,256,896
12Apr 16, 2024 23:126,08767,135,96019,479,61302,179,072