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 12:31AnSaAnSaScore: 5,293Success
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 12:315,27338,223,79014,888,0001,985,0002,281,472
2Jan 21, 2024 12:315,27341,843,74514,888,0001,985,0002,392,064
3Jan 21, 2024 12:315,28439,823,99716,908,00002,281,472
4Jan 21, 2024 12:315,28443,672,44615,915,000994,0002,400,256
5Jan 21, 2024 12:315,28544,779,95815,917,000994,0002,281,472
6Jan 21, 2024 12:315,29346,798,58614,946,0001,992,0002,281,472
7Jan 21, 2024 12:315,29344,176,46315,943,000996,0002,510,848
8Jan 21, 2024 12:315,29742,801,13914,956,0001,994,0002,281,472
9Jan 21, 2024 12:315,30243,596,85414,970,0001,996,0002,387,968
10Jan 21, 2024 12:315,46783,941,46217,495,38402,285,568
11Jan 21, 2024 12:315,48785,692,11517,559,45302,285,568
12Jan 21, 2024 12:315,52883,072,74117,690,81302,289,664