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 16, 2024 15:06vahookvahookScore: 4,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2024 15:064,32937,995,91012,865,000989,0002,502,656
2Aug 16, 2024 15:064,33832,642,65612,889,000991,0002,498,560
3Aug 16, 2024 15:064,33835,818,36912,891,000991,0002,277,376
4Aug 16, 2024 15:064,33830,088,66512,891,000991,0002,277,376
5Aug 16, 2024 15:064,34134,565,35012,898,000992,0002,535,424
6Aug 16, 2024 15:064,34334,135,96813,896,00002,498,560
7Aug 16, 2024 15:064,34335,665,01312,905,000992,0002,277,376
8Aug 16, 2024 15:064,34829,150,48912,920,000993,0002,498,560
9Aug 16, 2024 15:064,35729,940,78411,950,0001,991,0002,490,368
10Aug 16, 2024 15:064,59894,810,86714,714,97902,240,512
11Aug 16, 2024 15:064,60277,631,64414,726,67602,236,416
12Aug 16, 2024 15:064,62396,641,91114,794,66502,232,320