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 31, 2025 10:13Aman | अमनAman | अमनScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2025 10:135,27343,140,71114,890,0001,985,0002,523,136
2Dec 31, 2025 10:135,27835,953,88715,898,000993,0002,523,136
3Dec 31, 2025 10:135,28143,428,73215,905,000994,0002,523,136
4Dec 31, 2025 10:135,28541,116,68515,919,000994,0002,523,136
5Dec 31, 2025 10:135,29843,247,94114,958,0001,994,0002,510,848
6Dec 31, 2025 10:135,30134,630,48515,967,000997,0002,387,968
7Dec 31, 2025 10:135,32147,426,24616,025,0001,001,0002,392,064
8Dec 31, 2025 10:135,33341,798,51515,058,0002,007,0002,379,776
9Dec 31, 2025 10:135,42340,145,65417,355,00002,260,992