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 28, 2026 12:04GKP00GKP00Score: 102,044Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 12:04101,857350,545,669292,947,00032,994,0002,478,080
2Jan 28, 2026 12:04102,044353,418,610290,591,00035,949,0002,338,816
3Jan 28, 2026 12:04102,218350,344,631287,086,00040,012,0002,289,664