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 5, 2024 22:12Michael KlimenkoMichael KlimenkoScore: 2,784,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 22:122,765,2288,879,702,1738,815,742,00032,987,0002,281,472
2Nov 5, 2024 22:122,768,9828,888,084,0418,826,755,00033,987,0002,281,472
3Nov 5, 2024 22:122,771,8898,909,345,9398,824,076,00045,969,0002,281,472
4Nov 5, 2024 22:122,781,0758,930,522,2528,868,452,00030,987,0002,281,472
5Nov 5, 2024 22:122,784,1938,937,939,2228,871,436,00037,980,0002,265,088
6Nov 5, 2024 22:122,796,1168,980,567,8938,914,588,00032,983,0002,293,760
7Nov 5, 2024 22:122,797,6208,992,739,9108,919,419,00032,964,0002,281,472
8Nov 5, 2024 22:122,844,3569,138,022,0099,064,964,00036,975,0002,281,472
9Nov 5, 2024 22:122,881,7149,252,714,5929,186,498,00034,986,0002,281,472