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 listJan 15, 2025 01:16Ian MckibbenIan MckibbenScore: 5,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 01:165,45240,366,08316,421,0001,026,0002,293,760
2Jan 15, 2025 01:165,45634,474,98016,433,0001,027,0002,375,680
3Jan 15, 2025 01:165,45740,902,99916,434,0001,027,0002,277,376
4Jan 15, 2025 01:165,45848,058,51716,437,0001,027,0002,293,760
5Jan 15, 2025 01:165,46640,259,09316,463,0001,028,0002,269,184
6Jan 15, 2025 01:165,46938,938,32416,471,0001,029,0002,285,568
7Jan 15, 2025 01:165,47440,676,61916,486,0001,030,0002,273,280
8Jan 15, 2025 01:165,50047,593,36917,600,00002,273,280
9Jan 15, 2025 01:165,50644,927,74916,583,0001,036,0002,281,472