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 listApr 16, 2025 01:33Chandrasekaran AkashChandrasekaran AkashScore: 4,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 01:334,38237,197,28713,021,0001,001,0002,277,376
2Apr 16, 2025 01:334,38929,395,30313,042,0001,003,0002,506,752
3Apr 16, 2025 01:334,40131,379,15513,078,0001,006,0002,506,752
4Apr 16, 2025 01:334,41434,781,36113,116,0001,008,0002,273,280
5Apr 16, 2025 01:334,41533,456,86913,118,0001,009,0002,506,752
6Apr 16, 2025 01:334,43530,248,21713,179,0001,013,0002,277,376
7Apr 16, 2025 01:334,55230,500,19614,566,00002,535,424
8Apr 16, 2025 01:334,55540,158,66514,577,00002,277,376
9Apr 16, 2025 01:334,57028,667,77314,625,00002,277,376