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 listApr 9, 2024 19:52emily graceemily graceScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2024 19:535,44777,264,37317,429,56402,285,568
2Apr 9, 2024 19:535,46178,178,80017,476,79302,289,664
3Apr 9, 2024 19:525,46963,579,51817,499,35302,297,856
4Apr 9, 2024 19:545,46995,861,25217,500,39402,285,568
5Apr 9, 2024 19:535,47073,733,07417,503,53802,273,280
6Apr 9, 2024 19:525,47487,534,16817,517,30302,281,472
7Apr 9, 2024 19:545,47964,177,96017,532,33602,297,856
8Apr 9, 2024 19:535,48172,057,15917,540,45902,289,664
9Apr 9, 2024 19:545,49295,616,16517,574,56902,289,664
10Apr 9, 2024 19:525,49361,599,05617,578,83702,293,760
11Apr 9, 2024 19:525,49477,590,80517,580,55902,285,568
12Apr 9, 2024 19:535,49692,789,21517,585,99202,293,760
13Apr 9, 2024 19:525,50092,171,43617,600,53302,277,376
14Apr 9, 2024 19:535,54094,841,05317,727,51302,281,472
15Apr 9, 2024 19:525,54570,415,91217,744,51602,293,760