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 listNov 11, 2024 18:42ZOTTIGZOTTIGScore: 67,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 18:4267,769247,553,941215,862,000999,0002,326,528
2Nov 11, 2024 18:4267,774244,639,123214,878,0001,998,0002,322,432
3Nov 11, 2024 18:4267,780246,264,949213,897,0002,998,0002,490,368
4Nov 11, 2024 18:4267,784243,804,012215,910,000999,0002,490,368
5Nov 11, 2024 18:4267,913246,176,839215,321,0002,002,0002,326,528
6Nov 11, 2024 18:4267,953244,875,243217,450,00002,494,464
7Nov 11, 2024 18:4267,961242,443,000215,470,0002,004,0002,494,464
8Nov 11, 2024 18:4268,001246,425,959216,601,0001,002,0002,326,528
9Nov 11, 2024 18:4268,018247,143,539216,656,0001,003,0002,494,464