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 listJan 28, 2025 17:07Oleg KovalovOleg KovalovScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 17:075,27245,036,98114,886,0001,984,0002,531,328
2Jan 28, 2025 17:075,27345,113,91314,888,0001,985,0002,441,216
3Jan 28, 2025 17:075,27445,308,26414,893,0001,985,0002,445,312
4Jan 28, 2025 17:075,28042,820,27314,908,0001,987,0002,269,184
5Jan 28, 2025 17:075,28143,348,03714,912,0001,988,0002,445,312
6Jan 28, 2025 17:075,28533,648,18914,922,0001,989,0002,445,312
7Jan 28, 2025 17:075,28637,575,78814,926,0001,990,0002,445,312
8Jan 28, 2025 17:075,29438,770,01614,949,0001,993,0002,527,232
9Jan 28, 2025 17:075,29544,758,35414,952,0001,993,0002,519,040