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 30, 2024 00:39Joad NacerJoad NacerScore: 4,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 00:404,33628,852,06113,875,00002,269,184
2Nov 30, 2024 00:404,33733,494,16112,886,000991,0002,531,328
3Nov 30, 2024 00:404,33830,101,78613,881,00002,433,024
4Nov 30, 2024 00:394,33930,243,03213,885,00002,510,848
5Nov 30, 2024 00:394,34028,453,64812,896,000992,0002,433,024
6Nov 30, 2024 00:394,34331,028,94612,904,000992,0002,531,328
7Nov 30, 2024 00:404,34336,607,93711,914,0001,985,0002,269,184
8Nov 30, 2024 00:404,34540,533,73012,911,000993,0002,531,328
9Nov 30, 2024 00:404,34729,711,11511,922,0001,987,0002,531,328
10Nov 30, 2024 00:394,35631,980,09212,943,000995,0002,531,328
11Nov 30, 2024 00:394,38629,324,75312,030,0002,005,0002,531,328
12Nov 30, 2024 00:394,53937,619,38013,487,0001,037,0002,531,328