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:39KeKazartsevKeKazartsevScore: 33,424Success
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:3933,270137,756,04280,351,00026,114,0002,273,280
2Dec 21, 2024 23:3933,404132,115,17677,922,00028,971,0002,277,376
3Dec 21, 2024 23:3933,419129,274,25678,956,00027,984,0002,285,568
4Dec 21, 2024 23:3933,419127,273,53379,956,00026,985,0002,285,568
5Dec 21, 2024 23:3933,424132,483,88876,970,00029,988,0002,273,280
6Dec 21, 2024 23:3933,437133,379,74076,998,00029,999,0002,285,568
7Dec 21, 2024 23:3933,454135,189,37677,039,00030,015,0002,285,568
8Dec 21, 2024 23:3933,559130,102,93577,281,00030,109,0002,285,568
9Dec 21, 2024 23:3933,684136,824,97178,846,00028,943,0002,277,376