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 22, 2024 09:16Alexander MonakovAlexander MonakovScore: 4,864Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:164,79833,043,47315,355,00002,498,560
2Jan 22, 2024 09:164,80335,043,42315,370,00002,502,656
3Jan 22, 2024 09:164,80832,817,43015,386,00002,277,376
4Jan 22, 2024 09:164,83935,069,12315,486,00002,277,376
5Jan 22, 2024 09:164,85440,971,59814,497,0001,035,0002,498,560
6Jan 22, 2024 09:164,86235,037,31515,557,00002,498,560
7Jan 22, 2024 09:164,86432,584,67914,528,0001,037,0002,498,560
8Jan 22, 2024 09:164,86539,271,79015,568,00002,277,376
9Jan 22, 2024 09:164,86735,953,19615,575,00002,273,280
10Jan 22, 2024 09:165,06155,912,60716,194,66102,240,512
11Jan 22, 2024 09:165,10075,666,79316,319,27702,248,704
12Jan 22, 2024 09:165,10470,746,65716,332,32302,236,416