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:11lukostlukostScore: 5,092Success
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:115,04837,810,91414,133,0002,019,0002,445,312
2Apr 26, 2025 20:115,06045,474,38714,169,0002,024,0002,539,520
3Apr 26, 2025 20:115,06940,965,64414,195,0002,027,0002,539,520
4Apr 26, 2025 20:115,09237,899,08115,275,0001,018,0002,441,216
5Apr 26, 2025 20:115,09234,192,36715,275,0001,018,0002,539,520
6Apr 26, 2025 20:115,09638,361,78115,287,0001,019,0002,539,520
7Apr 26, 2025 20:115,11031,996,02915,331,0001,022,0002,453,504
8Apr 26, 2025 20:115,11235,185,76015,337,0001,022,0002,539,520
9Apr 26, 2025 20:115,11334,564,95715,341,0001,022,0002,539,520