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 3, 2024 04:44MylesMylesScore: 4,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:444,43130,153,48412,155,0002,025,0002,453,504
2Aug 3, 2024 04:444,43233,115,21912,157,0002,026,0002,281,472
3Aug 3, 2024 04:444,43531,755,73912,166,0002,027,0002,281,472
4Aug 3, 2024 04:444,44535,190,42112,192,0002,032,0002,281,472
5Aug 3, 2024 04:444,45030,310,99412,207,0002,034,0002,441,216
6Aug 3, 2024 04:444,45234,868,66312,210,0002,035,0002,445,312
7Aug 3, 2024 04:444,45632,093,41113,240,0001,018,0002,527,232
8Aug 3, 2024 04:444,45934,396,41813,251,0001,019,0002,277,376
9Aug 3, 2024 04:444,46330,794,16112,243,0002,040,0002,281,472
10Aug 3, 2024 04:444,69557,755,42115,024,00302,191,360
11Aug 3, 2024 04:444,71856,629,12415,096,04402,256,896
12Aug 3, 2024 04:444,722103,996,04915,109,47302,203,648