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 14:16spacecat8086spacecat8086Score: 2,769,588Success
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 14:162,764,4858,881,196,9538,812,370,00033,982,0002,281,472
2Nov 6, 2024 14:162,766,0438,881,706,9128,814,354,00036,984,0002,281,472
3Nov 6, 2024 14:162,768,5178,892,225,4438,826,267,00032,986,0002,281,472
4Nov 6, 2024 14:162,769,4548,893,455,6518,827,269,00034,985,0002,293,760
5Nov 6, 2024 14:162,769,5888,889,394,5628,827,699,00034,982,0002,281,472
6Nov 6, 2024 14:162,770,1488,889,774,4298,833,488,00030,987,0002,281,472
7Nov 6, 2024 14:162,774,1048,909,384,9338,851,147,00025,985,0002,281,472
8Nov 6, 2024 14:162,778,8348,922,606,7098,858,284,00033,985,0002,281,472
9Nov 6, 2024 14:162,792,8368,966,396,1938,902,090,00034,984,0002,289,664