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 listFeb 27, 2023 11:21DarkclainerDarkclainerScore: 4,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 11:214,75437,744,85713,184,0002,028,0002,379,776
2Feb 27, 2023 11:214,75529,765,85613,188,0002,029,0002,531,328
3Feb 27, 2023 11:214,77337,316,61013,237,0002,036,0002,531,328
4Feb 27, 2023 11:214,77632,424,20213,245,0002,037,0002,490,368
5Feb 27, 2023 11:214,77831,969,19514,271,0001,019,0002,383,872
6Feb 27, 2023 11:214,78833,505,10414,302,0001,021,0002,482,176
7Feb 27, 2023 11:214,79342,551,96213,294,0002,045,0002,379,776
8Feb 27, 2023 11:214,79330,074,18714,317,0001,022,0002,478,080
9Feb 27, 2023 11:214,79431,287,92715,341,00002,383,872
10Feb 27, 2023 11:214,99688,674,42215,988,79602,240,512
11Feb 27, 2023 11:215,01497,338,47316,045,32002,248,704
12Feb 27, 2023 11:215,01690,850,57716,050,85402,236,416