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 listNov 6, 2024 23:17CountHarebourgCountHarebourgScore: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 23:175,86240,508,59817,717,0001,042,0002,289,664
2Nov 6, 2024 23:175,88845,451,45618,840,00002,289,664
3Nov 6, 2024 23:175,89244,661,61317,861,000992,0002,531,328
4Nov 6, 2024 23:175,89246,860,97718,854,00002,289,664
5Nov 6, 2024 23:175,90043,998,47816,893,0001,987,0002,289,664
6Nov 6, 2024 23:175,90546,888,49916,907,0001,989,0002,265,088
7Nov 6, 2024 23:175,90546,614,48816,907,0001,989,0002,289,664
8Nov 6, 2024 23:175,90844,563,01316,917,0001,990,0002,379,776
9Nov 6, 2024 23:175,93346,299,62616,988,0001,998,0002,289,664