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 listJan 23, 2024 17:03Gokberk YaltirakliGokberk YaltirakliScore: 5,659Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 17:035,61943,645,79316,983,000999,0002,289,664
2Jan 23, 2024 17:035,62545,116,93616,000,0002,000,0002,289,664
3Jan 23, 2024 17:035,63848,613,31716,038,0002,004,0002,289,664
4Jan 23, 2024 17:035,64933,041,04217,072,0001,004,0002,289,664
5Jan 23, 2024 17:035,65140,584,50016,075,0002,009,0002,289,664
6Jan 23, 2024 17:035,65539,602,33517,092,0001,005,0002,277,376
7Jan 23, 2024 17:035,65940,333,98117,102,0001,006,0002,289,664
8Jan 23, 2024 17:035,66642,687,15816,118,0002,014,0002,289,664
9Jan 23, 2024 17:035,67146,154,66116,132,0002,016,0002,289,664
10Jan 23, 2024 17:035,75481,216,30518,411,47202,301,952
11Jan 23, 2024 17:035,83986,758,38118,685,17802,301,952
12Jan 23, 2024 17:035,87576,843,64818,799,89202,297,856