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 1, 2023 23:07apuxbtapuxbtScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2023 23:075,27434,697,83515,885,000992,0002,387,968
2Oct 1, 2023 23:075,27734,502,39614,899,0001,986,0002,265,088
3Oct 1, 2023 23:075,27732,371,24815,893,000993,0002,265,088
4Oct 1, 2023 23:075,29134,948,45514,939,0001,991,0002,392,064
5Oct 1, 2023 23:075,30145,743,22315,966,000997,0002,265,088
6Oct 1, 2023 23:075,30242,164,96515,969,000998,0002,387,968
7Oct 1, 2023 23:075,30437,386,35315,976,000998,0002,392,064
8Oct 1, 2023 23:075,31535,705,94716,009,0001,000,0002,265,088
9Oct 1, 2023 23:075,31641,393,27916,011,0001,000,0002,387,968
10Oct 1, 2023 23:075,48099,326,60217,535,33102,285,568
11Oct 1, 2023 23:075,49595,034,76517,583,47602,281,472
12Oct 1, 2023 23:075,51063,044,33217,631,90202,277,376