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 listAug 16, 2025 20:15Leon ZhaoLeon ZhaoScore: 4,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2025 20:154,64833,355,28013,883,000991,0002,260,992
2Aug 16, 2025 20:154,65231,522,86713,894,000992,0002,379,776
3Aug 16, 2025 20:154,65641,949,38012,914,0001,986,0002,379,776
4Aug 16, 2025 20:154,65833,076,36313,913,000993,0002,260,992
5Aug 16, 2025 20:154,66033,880,90112,923,0001,988,0002,519,040
6Aug 16, 2025 20:154,66230,874,95214,917,00002,387,968
7Aug 16, 2025 20:154,67049,242,99112,952,0001,992,0002,519,040
8Aug 16, 2025 20:154,68230,049,01312,985,0001,997,0002,392,064
9Aug 16, 2025 20:154,68742,894,99812,998,0001,999,0002,510,848