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 20, 2024 08:54matsuoka-601matsuoka-601Score: 5,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 08:545,27542,899,45214,894,0001,985,0002,465,792
2Jan 20, 2024 08:545,27543,620,42714,894,0001,985,0002,473,984
3Jan 20, 2024 08:545,28232,987,67614,913,0001,988,0002,506,752
4Jan 20, 2024 08:545,30734,285,22614,984,0001,997,0002,441,216
5Jan 20, 2024 08:545,31045,714,18314,993,0001,999,0002,457,600
6Jan 20, 2024 08:545,31942,726,90215,018,0002,002,0002,457,600
7Jan 20, 2024 08:545,32146,712,46414,022,0003,004,0002,424,832
8Jan 20, 2024 08:545,33143,271,74114,048,0003,010,0002,441,216
9Jan 20, 2024 08:545,34644,281,01316,100,0001,006,0002,478,080
10Jan 20, 2024 08:545,68154,362,89018,177,94802,195,456
11Jan 20, 2024 08:545,68881,559,04118,201,08702,203,648
12Jan 20, 2024 08:545,74782,954,91618,391,32202,207,744