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 29, 2024 18:35Joad NacerJoad NacerScore: 4,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 18:354,33228,762,17312,872,000990,0002,531,328
2Nov 29, 2024 18:354,33438,555,77512,879,000990,0002,531,328
3Nov 29, 2024 18:354,33834,349,68912,889,000991,0002,531,328
4Nov 29, 2024 18:354,33841,382,21312,889,000991,0002,428,928
5Nov 29, 2024 18:354,33934,929,06213,884,00002,433,024
6Nov 29, 2024 18:354,33932,113,31112,894,000991,0002,424,832
7Nov 29, 2024 18:354,34130,486,89211,907,0001,984,0002,428,928
8Nov 29, 2024 18:354,34230,469,22112,903,000992,0002,531,328
9Nov 29, 2024 18:354,34726,913,02712,917,000993,0002,428,928
10Nov 29, 2024 18:354,35230,998,49912,933,000994,0002,531,328
11Nov 29, 2024 18:354,35829,688,68612,948,000996,0002,531,328
12Nov 29, 2024 18:354,36831,367,90912,979,000998,0002,531,328
13Nov 29, 2024 18:354,59627,054,80213,658,0001,050,0002,433,024
14Nov 29, 2024 18:354,75040,369,70713,173,0002,026,0002,424,832
15Nov 29, 2024 18:354,91342,029,32114,672,0001,048,0002,433,024