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 15, 2024 15:12vahookvahookScore: 4,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2024 15:124,47029,688,22014,304,00002,392,064
2Aug 15, 2024 15:124,47239,666,70614,310,00002,400,256
3Aug 15, 2024 15:124,47330,008,85614,315,00002,400,256
4Aug 15, 2024 15:124,47433,696,16613,294,0001,022,0002,281,472
5Aug 15, 2024 15:124,47931,059,40813,311,0001,023,0002,510,848
6Aug 15, 2024 15:124,48430,750,92113,325,0001,025,0002,396,160
7Aug 15, 2024 15:124,48829,315,03814,362,00002,281,472
8Aug 15, 2024 15:124,49139,983,79214,370,00002,281,472
9Aug 15, 2024 15:124,49333,619,93812,324,0002,054,0002,281,472
10Aug 15, 2024 15:124,71688,044,64415,091,89102,285,568
11Aug 15, 2024 15:124,72585,466,59315,121,48202,301,952
12Aug 15, 2024 15:124,73076,162,06215,135,39502,297,856