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 11, 2024 10:28E SequeiraE SequeiraScore: 5,884Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 10:285,80248,821,08218,566,00002,289,664
2Nov 11, 2024 10:285,80542,902,75017,544,0001,032,0002,289,664
3Nov 11, 2024 10:285,82150,639,86017,592,0001,034,0002,269,184
4Nov 11, 2024 10:285,87644,604,62617,814,000989,0002,289,664
5Nov 11, 2024 10:285,88446,420,24216,848,0001,982,0002,531,328
6Nov 11, 2024 10:285,89744,597,45017,878,000993,0002,289,664
7Nov 11, 2024 10:286,11538,125,40118,539,0001,029,0002,289,664
8Nov 11, 2024 10:286,16454,875,03018,688,0001,038,0002,523,136
9Nov 11, 2024 10:286,27152,066,63219,063,0001,003,0002,281,472