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 listAug 12, 2024 14:19vahookvahookScore: 4,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 12, 2024 14:194,46442,829,92112,245,0002,040,0002,281,472
2Aug 12, 2024 14:194,46529,017,35312,246,0002,041,0002,281,472
3Aug 12, 2024 14:194,47332,791,86513,293,0001,022,0002,277,376
4Aug 12, 2024 14:194,47335,446,47914,315,00002,281,472
5Aug 12, 2024 14:194,47927,823,79514,332,00002,400,256
6Aug 12, 2024 14:194,48738,875,66013,333,0001,025,0002,281,472
7Aug 12, 2024 14:194,49330,468,87913,350,0001,026,0002,400,256
8Aug 12, 2024 14:194,49742,123,93314,391,00002,408,448
9Aug 12, 2024 14:194,50332,152,67213,380,0001,029,0002,281,472
10Aug 12, 2024 14:194,72589,846,58815,120,70602,301,952
11Aug 12, 2024 14:194,74690,812,82615,188,70902,293,760
12Aug 12, 2024 14:194,76680,963,64215,250,76902,289,664