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 3, 2023 22:11Jack FrigaardJack FrigaardScore: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 22:114,77834,156,55513,253,0002,038,0002,289,664
2Jan 3, 2023 22:114,78245,244,32014,283,0001,020,0002,269,184
3Jan 3, 2023 22:114,80342,537,24114,345,0001,024,0002,269,184
4Jan 3, 2023 22:114,80534,299,29313,326,0002,050,0002,523,136
5Jan 3, 2023 22:114,81934,369,94513,365,0002,056,0002,273,280
6Jan 3, 2023 22:114,82243,372,82114,401,0001,028,0002,289,664
7Jan 3, 2023 22:114,82533,901,40014,412,0001,029,0002,265,088
8Jan 3, 2023 22:114,82645,315,50014,413,0001,029,0002,289,664
9Jan 3, 2023 22:114,83335,677,24714,434,0001,031,0002,523,136
10Jan 3, 2023 22:115,01390,797,75716,040,05102,297,856
11Jan 3, 2023 22:115,03565,014,50016,110,70302,297,856
12Jan 3, 2023 22:115,05562,339,55416,176,10702,297,856