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 listJun 30, 2024 12:05AnSaAnSaScore: 4,842Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 12:054,81840,325,70613,363,0002,055,0002,269,184
2Jun 30, 2024 12:054,81934,267,01813,366,0002,056,0002,502,656
3Jun 30, 2024 12:054,82237,897,23813,374,0002,057,0002,531,328
4Jun 30, 2024 12:054,82634,006,99415,442,00002,502,656
5Jun 30, 2024 12:054,83736,012,07215,477,00002,494,464
6Jun 30, 2024 12:054,84034,996,26314,457,0001,032,0002,531,328
7Jun 30, 2024 12:054,84234,312,25615,493,00002,502,656
8Jun 30, 2024 12:054,84631,525,22714,474,0001,033,0002,498,560
9Jun 30, 2024 12:054,85236,745,47914,490,0001,035,0002,498,560
10Jun 30, 2024 12:055,12959,261,20416,411,56502,248,704
11Jun 30, 2024 12:055,13587,473,02516,430,93202,248,704
12Jun 30, 2024 12:055,14378,471,39016,458,32302,248,704