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, 2025 17:19jhallgreenjhallgreenScore: 4,637Success
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, 2025 17:184,55836,621,55213,544,0001,041,0002,260,992
2Dec 21, 2025 17:184,58344,270,27713,620,0001,047,0002,383,872
3Dec 21, 2025 17:184,58346,601,60414,667,00002,523,136
4Dec 21, 2025 17:184,58632,444,18413,626,0001,048,0002,523,136
5Dec 21, 2025 17:184,58835,390,69214,682,00002,375,680
6Dec 21, 2025 17:164,59942,831,39413,666,0001,051,0002,387,968
7Dec 21, 2025 17:184,63733,552,57113,848,000989,0002,387,968
8Dec 21, 2025 17:164,64631,014,36612,886,0001,982,0002,523,136
9Dec 21, 2025 17:194,64831,992,32213,881,000991,0002,523,136
10Dec 21, 2025 17:194,64929,965,90612,894,0001,983,0002,392,064
11Dec 21, 2025 17:194,64935,956,23812,895,0001,983,0002,519,040
12Dec 21, 2025 17:164,65537,593,24512,909,0001,986,0002,519,040