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 27, 2024 17:17Hayden DonnellyHayden DonnellyScore: 11,005Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 17:1710,84664,820,8204,083,00030,625,0002,387,968
2Nov 27, 2024 17:1710,85464,325,4889,194,00025,539,0002,396,160
3Nov 27, 2024 17:1710,97559,113,9817,024,00028,096,0002,285,568
4Nov 27, 2024 17:1711,00365,564,5585,030,00030,180,0002,387,968
5Nov 27, 2024 17:1711,00562,288,7137,043,00028,173,0002,387,968
6Nov 27, 2024 17:1711,01058,058,92610,066,00025,167,0002,293,760
7Nov 27, 2024 17:1711,24860,973,7458,998,00026,995,0002,387,968
8Nov 27, 2024 17:1711,24860,872,85110,998,00024,997,0002,293,760
9Nov 27, 2024 17:1711,45462,675,15212,217,00024,435,0002,285,568