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 23, 2024 18:54AnSaAnSaScore: 5,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:545,27539,689,75614,895,0001,986,0002,281,472
2Jan 23, 2024 18:545,28345,022,15615,912,000994,0002,392,064
3Jan 23, 2024 18:545,28549,680,92515,855,0001,057,0002,281,472
4Jan 23, 2024 18:545,29040,321,95014,937,0001,991,0002,396,160
5Jan 23, 2024 18:545,30636,197,82314,983,0001,997,0002,281,472
6Jan 23, 2024 18:545,30742,517,92314,984,0001,997,0002,392,064
7Jan 23, 2024 18:545,31243,960,05015,998,000999,0002,510,848
8Jan 23, 2024 18:545,32132,717,91716,025,0001,001,0002,281,472
9Jan 23, 2024 18:545,32339,282,12415,029,0002,003,0002,396,160
10Jan 23, 2024 18:545,51292,609,70117,639,44302,289,664
11Jan 23, 2024 18:545,52082,906,07217,664,31102,281,472
12Jan 23, 2024 18:545,53586,919,37317,712,90902,289,664