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 listJul 22, 2022 22:04Robert BurkeRobert BurkeScore: 4,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:044,78232,551,07214,282,0001,020,0002,535,424
2Jul 22, 2022 22:044,80329,127,82214,346,0001,024,0002,535,424
3Jul 22, 2022 22:044,80431,714,22814,348,0001,024,0002,535,424
4Jul 22, 2022 22:044,81031,286,66615,393,00002,428,928
5Jul 22, 2022 22:044,81831,255,35415,417,00002,424,832
6Jul 22, 2022 22:044,82036,377,50315,425,00002,433,024
7Jul 22, 2022 22:044,82132,771,96514,400,0001,028,0002,433,024
8Jul 22, 2022 22:044,82735,333,65114,416,0001,029,0002,535,424
9Jul 22, 2022 22:044,84634,076,79214,475,0001,033,0002,437,120
10Jul 22, 2022 22:044,98456,330,78815,947,21402,183,168
11Jul 22, 2022 22:045,00284,627,64316,005,20702,183,168
12Jul 22, 2022 22:045,02771,976,19116,087,73902,183,168