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 22, 2024 23:25Joad NacerJoad NacerScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:255,51847,399,56416,619,0001,038,0002,289,664
2Jul 22, 2024 23:255,52938,250,33017,693,00002,265,088
3Jul 22, 2024 23:255,53642,564,10516,672,0001,042,0002,289,664
4Jul 22, 2024 23:255,56544,428,37715,830,0001,978,0002,531,328
5Jul 22, 2024 23:255,57743,990,38215,864,0001,983,0002,289,664
6Jul 22, 2024 23:255,58342,401,38916,872,000992,0002,289,664
7Jul 22, 2024 23:255,58343,402,01115,881,0001,985,0002,379,776
8Jul 22, 2024 23:255,58435,154,71115,883,0001,985,0002,265,088
9Jul 22, 2024 23:255,59243,244,69415,907,0001,988,0002,523,136
10Jul 22, 2024 23:255,73164,265,60818,339,87602,289,664
11Jul 22, 2024 23:255,75893,190,35118,426,84802,301,952
12Jul 22, 2024 23:255,78287,749,59318,502,91102,179,072