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 listOct 29, 2023 06:19goon-goon-Score: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2023 06:195,51443,047,44416,608,0001,038,0002,392,064
2Oct 29, 2023 06:195,53145,679,53317,698,00002,396,160
3Oct 29, 2023 06:195,53242,558,93916,661,0001,041,0002,387,968
4Oct 29, 2023 06:195,53347,290,11016,666,0001,041,0002,265,088
5Oct 29, 2023 06:195,54340,742,79717,737,00002,392,064
6Oct 29, 2023 06:195,58536,723,79816,879,000992,0002,383,872
7Oct 29, 2023 06:195,58747,973,78716,884,000993,0002,392,064
8Oct 29, 2023 06:195,58845,044,91415,894,0001,986,0002,265,088
9Oct 29, 2023 06:195,61045,063,64716,063,0001,889,0002,265,088
10Oct 29, 2023 06:195,80198,689,76918,561,83202,240,512
11Oct 29, 2023 06:195,81466,404,50718,604,10302,277,376
12Oct 29, 2023 06:195,85786,195,57018,741,83602,277,376