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 listApr 26, 2025 01:10vahookvahookScore: 4,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 01:114,09936,734,29112,108,0001,009,0002,490,368
2Apr 26, 2025 01:114,11129,130,09312,143,0001,011,0002,273,280
3Apr 26, 2025 01:104,13037,826,01512,201,0001,016,0002,273,280
4Apr 26, 2025 01:114,13034,937,63712,200,0001,016,0002,498,560
5Apr 26, 2025 01:114,13131,189,05112,202,0001,016,0002,494,464
6Apr 26, 2025 01:114,14530,350,28812,244,0001,020,0002,502,656
7Apr 26, 2025 01:114,14537,625,65113,264,00002,273,280
8Apr 26, 2025 01:114,14828,903,82013,273,00002,498,560
9Apr 26, 2025 01:114,14929,433,86113,277,00002,273,280
10Apr 26, 2025 01:104,15029,273,97912,258,0001,021,0002,531,328
11Apr 26, 2025 01:114,15034,658,41113,279,00002,502,656
12Apr 26, 2025 01:104,15328,527,56713,291,00002,273,280
13Apr 26, 2025 01:114,16025,980,81313,313,00002,273,280
14Apr 26, 2025 01:114,16327,407,03713,322,00002,490,368
15Apr 26, 2025 01:114,17030,235,71213,343,00002,273,280