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 11, 2024 00:53Yuriy LyfenkoYuriy LyfenkoScore: 4,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 00:534,494638,437,03914,380,00002,523,136
2Aug 11, 2024 00:534,503636,919,14814,408,00002,265,088
3Aug 11, 2024 00:534,507637,426,73013,312,0001,109,0002,527,232
4Aug 11, 2024 00:534,509641,272,82414,430,00002,265,088
5Aug 11, 2024 00:534,512638,718,57113,327,0001,110,0002,527,232
6Aug 11, 2024 00:534,512634,489,90514,438,00002,527,232
7Aug 11, 2024 00:534,513637,090,49614,440,00002,527,232
8Aug 11, 2024 00:534,516639,552,90914,451,00002,527,232
9Aug 11, 2024 00:534,516636,205,30914,451,00002,523,136
10Aug 11, 2024 00:534,694688,299,41515,022,24602,191,360
11Aug 11, 2024 00:534,717672,822,50515,093,64102,330,624
12Aug 11, 2024 00:534,719684,179,21715,101,48002,273,280