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 21, 2022 00:08Franek KortaFranek KortaScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 00:085,43932,628,68017,406,00002,531,328
2Aug 21, 2022 00:085,44536,100,28417,425,00002,531,328
3Aug 21, 2022 00:085,44948,239,65417,438,00002,441,216
4Aug 21, 2022 00:085,46939,971,40916,472,0001,029,0002,449,408
5Aug 21, 2022 00:085,47033,028,10814,416,0003,089,0002,531,328
6Aug 21, 2022 00:085,47038,649,83716,476,0001,029,0002,531,328
7Aug 21, 2022 00:085,48139,032,25617,539,00002,449,408
8Aug 21, 2022 00:085,48437,927,27217,549,00002,531,328
9Aug 21, 2022 00:085,49035,319,44817,567,00002,445,312
10Aug 21, 2022 00:085,70681,597,75618,260,36802,199,552
11Aug 21, 2022 00:085,717104,417,13818,294,79502,207,744
12Aug 21, 2022 00:085,74577,545,69018,383,69602,195,456