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 listFeb 18, 2025 16:54AlexAlexScore: 5,989Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2025 16:545,96146,554,14017,067,0002,007,0002,273,280
2Feb 18, 2025 16:545,96748,804,53818,089,0001,004,0002,277,376
3Feb 18, 2025 16:545,98445,830,67917,135,0002,015,0002,281,472
4Feb 18, 2025 16:545,98537,087,07316,129,0003,024,0002,277,376
5Feb 18, 2025 16:545,98949,133,19717,148,0002,017,0002,277,376
6Feb 18, 2025 16:546,00046,832,39917,180,0002,021,0002,273,280
7Feb 18, 2025 16:546,00748,721,78317,199,0002,023,0002,269,184
8Feb 18, 2025 16:546,01251,532,23316,201,0003,037,0002,277,376
9Feb 18, 2025 16:546,02248,294,39715,214,0004,057,0002,387,968