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 listAug 3, 2024 05:08MylesMylesScore: 4,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:084,40034,716,15812,069,0002,011,0002,281,472
2Aug 3, 2024 05:084,40834,783,91612,091,0002,015,0002,535,424
3Aug 3, 2024 05:084,41736,087,63212,115,0002,019,0002,445,312
4Aug 3, 2024 05:084,42037,019,89712,124,0002,020,0002,281,472
5Aug 3, 2024 05:084,42235,397,78212,129,0002,021,0002,445,312
6Aug 3, 2024 05:084,42529,054,97712,137,0002,022,0002,281,472
7Aug 3, 2024 05:084,44232,874,59412,185,0002,030,0002,449,408
8Aug 3, 2024 05:084,44736,942,96712,197,0002,032,0002,281,472
9Aug 3, 2024 05:084,45231,793,65112,211,0002,035,0002,453,504
10Aug 3, 2024 05:084,68166,906,15614,979,37602,203,648
11Aug 3, 2024 05:084,69880,833,74815,034,19102,199,552
12Aug 3, 2024 05:084,70391,758,35415,048,67702,207,744