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 19, 2024 22:15Dan StolyarovDan StolyarovScore: 26,242Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 22:1526,120113,748,38054,380,00029,204,0002,265,088
2Nov 19, 2024 22:1526,172114,677,63154,836,00028,913,0002,265,088
3Nov 19, 2024 22:1526,203116,091,63053,904,00029,946,0002,318,336
4Nov 19, 2024 22:1526,240113,608,42456,978,00026,989,0002,265,088
5Nov 19, 2024 22:1526,242112,895,50053,983,00029,991,0002,322,432
6Nov 19, 2024 22:1526,314110,900,42356,137,00028,068,0002,265,088
7Nov 19, 2024 22:1526,326116,379,38355,160,00029,084,0002,318,336
8Nov 19, 2024 22:1526,348116,355,27653,199,00031,116,0002,326,528
9Nov 19, 2024 22:1526,368106,764,75354,244,00030,135,0002,318,336