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 21, 2024 08:33AnSaAnSaScore: 5,289Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 08:335,27447,415,39614,891,0001,985,0002,396,160
2Jan 21, 2024 08:335,27447,797,26314,893,0001,985,0002,281,472
3Jan 21, 2024 08:335,27448,798,46714,893,0001,985,0002,281,472
4Jan 21, 2024 08:335,27647,090,99014,896,0001,986,0002,281,472
5Jan 21, 2024 08:335,27638,402,19014,898,0001,986,0002,400,256
6Jan 21, 2024 08:335,28133,000,23115,844,0001,056,0002,281,472
7Jan 21, 2024 08:335,28934,720,33515,930,000995,0002,281,472
8Jan 21, 2024 08:335,29838,752,64815,955,000997,0002,281,472
9Jan 21, 2024 08:335,31543,811,16216,007,0001,000,0002,400,256
10Jan 21, 2024 08:335,47173,318,95417,506,25502,285,568
11Jan 21, 2024 08:335,47571,599,56417,521,28902,285,568
12Jan 21, 2024 08:335,48091,470,35817,536,16402,289,664