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 13:29AnSaAnSaScore: 5,315Success
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 13:295,27232,106,63114,886,0001,984,0002,281,472
2Jan 21, 2024 13:295,28638,337,81216,915,00002,383,872
3Jan 21, 2024 13:295,28834,425,24315,928,000995,0002,281,472
4Jan 21, 2024 13:295,29343,973,43415,941,000996,0002,392,064
5Jan 21, 2024 13:295,29839,238,98315,956,000997,0002,396,160
6Jan 21, 2024 13:295,30646,475,08115,980,000998,0002,387,968
7Jan 21, 2024 13:295,31538,202,99215,008,0002,001,0002,281,472
8Jan 21, 2024 13:295,32239,291,88516,029,0001,001,0002,281,472
9Jan 21, 2024 13:295,34338,917,85716,091,0001,005,0002,281,472
10Jan 21, 2024 13:295,49294,298,07617,574,29602,297,856
11Jan 21, 2024 13:295,50985,395,88017,630,28602,285,568
12Jan 21, 2024 13:295,52495,711,59117,677,13502,281,472