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 26, 2025 20:12lukostlukostScore: 5,095Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:135,05536,987,08614,154,0002,022,0002,441,216
2Apr 26, 2025 20:135,06235,585,66014,174,0002,024,0002,277,376
3Apr 26, 2025 20:125,08234,387,34116,261,00002,539,520
4Apr 26, 2025 20:135,08337,052,38815,250,0001,016,0002,539,520
5Apr 26, 2025 20:135,09531,307,68415,286,0001,019,0002,449,408
6Apr 26, 2025 20:125,09736,215,10015,290,0001,019,0002,539,520
7Apr 26, 2025 20:135,10528,978,13615,315,0001,021,0002,449,408
8Apr 26, 2025 20:135,12337,129,64015,371,0001,024,0002,539,520
9Apr 26, 2025 20:125,12443,425,47415,372,0001,024,0002,437,120