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 14:23vahookvahookScore: 4,285Success
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 14:234,25333,297,62713,609,00002,498,560
2Aug 16, 2024 14:234,26332,275,09113,641,00002,498,560
3Aug 16, 2024 14:234,26437,334,38813,645,00002,498,560
4Aug 16, 2024 14:234,26728,825,97013,654,00002,273,280
5Aug 16, 2024 14:234,27826,916,19813,691,00002,277,376
6Aug 16, 2024 14:234,28327,967,42813,706,00002,277,376
7Aug 16, 2024 14:234,28547,790,37513,712,00002,498,560
8Aug 16, 2024 14:234,28829,529,34613,722,00002,502,656
9Aug 16, 2024 14:234,31433,095,90413,806,00002,494,464
10Aug 16, 2024 14:234,531112,879,02014,500,23902,240,512
11Aug 16, 2024 14:234,54682,115,49314,546,06302,371,584
12Aug 16, 2024 14:234,56496,562,06114,604,20802,240,512