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 15, 2024 16:44matsuoka-601matsuoka-601Score: 4,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 16:444,84833,520,53714,479,0001,034,0002,285,568
2Jan 15, 2024 16:444,85038,740,98614,486,0001,034,0002,285,568
3Jan 15, 2024 16:444,86032,565,82415,552,00002,375,680
4Jan 15, 2024 16:444,86031,806,64814,517,0001,036,0002,527,232
5Jan 15, 2024 16:444,86132,913,59314,519,0001,037,0002,285,568
6Jan 15, 2024 16:444,86537,342,31014,530,0001,037,0002,273,280
7Jan 15, 2024 16:444,89746,278,80115,669,00002,527,232
8Jan 15, 2024 16:444,91332,801,90014,672,0001,048,0002,527,232
9Jan 15, 2024 16:444,95647,743,20714,867,000991,0002,523,136
10Jan 15, 2024 16:445,12189,484,65016,386,30502,306,048
11Jan 15, 2024 16:445,12781,720,32016,407,60402,301,952
12Jan 15, 2024 16:445,14394,623,03816,456,57402,310,144