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 listSep 6, 2024 09:16Joseph KuoJoseph KuoScore: 11,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:1611,34163,538,52610,081,00026,211,0002,293,760
2Sep 6, 2024 09:1611,53463,723,191997,00035,912,0002,289,664
3Sep 6, 2024 09:1611,54869,817,2367,989,00028,963,0002,289,664
4Sep 6, 2024 09:1611,58462,489,0157,013,00030,057,0002,404,352
5Sep 6, 2024 09:1611,59064,832,5059,021,00028,066,0002,404,352
6Sep 6, 2024 09:1611,60963,283,4306,024,00031,126,0002,289,664
7Sep 6, 2024 09:1611,62660,430,0144,022,00033,182,0002,404,352
8Sep 6, 2024 09:1611,64363,302,3647,049,00030,210,0002,289,664
9Sep 6, 2024 09:1611,66763,398,08410,090,00027,245,0002,289,664