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 listJun 30, 2024 17:22AnSaAnSaScore: 4,816Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:224,80630,369,79715,378,00002,498,560
2Jun 30, 2024 17:224,80634,963,48714,355,0001,025,0002,490,368
3Jun 30, 2024 17:224,80630,877,55214,355,0001,025,0002,531,328
4Jun 30, 2024 17:224,81029,854,65414,366,0001,026,0002,269,184
5Jun 30, 2024 17:224,81228,204,64515,399,00002,531,328
6Jun 30, 2024 17:224,81543,682,62515,408,00002,498,560
7Jun 30, 2024 17:224,81632,738,48515,410,00002,531,328
8Jun 30, 2024 17:224,83835,076,12514,451,0001,032,0002,482,176
9Jun 30, 2024 17:224,85932,014,10615,550,00002,269,184
10Jun 30, 2024 17:225,07360,756,07716,235,04502,244,608
11Jun 30, 2024 17:225,07584,984,08816,239,47702,248,704
12Jun 30, 2024 17:225,08484,803,39716,269,59902,244,608