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 listDec 21, 2024 23:45KeKazartsevKeKazartsevScore: 33,230Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 23:4533,128129,335,98074,008,00032,003,0002,285,568
2Dec 21, 2024 23:4533,142133,017,32978,041,00028,014,0002,285,568
3Dec 21, 2024 23:4533,200135,686,18675,171,00031,070,0002,277,376
4Dec 21, 2024 23:4533,219128,831,58679,224,00027,076,0002,265,088
5Dec 21, 2024 23:4533,230129,342,20779,250,00027,085,0002,285,568
6Dec 21, 2024 23:4533,332135,094,92779,494,00027,168,0002,285,568
7Dec 21, 2024 23:4533,375134,165,44278,852,00027,947,0002,285,568
8Dec 21, 2024 23:4533,381135,604,42277,868,00028,951,0002,285,568
9Dec 21, 2024 23:4533,400132,060,20175,915,00030,965,0002,277,376