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 23, 2023 09:13DarkclainerDarkclainerScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 09:135,26643,596,17916,850,00002,482,176
2Feb 23, 2023 09:135,27235,982,66115,877,000992,0002,506,752
3Feb 23, 2023 09:135,27443,804,41514,893,0001,985,0002,269,184
4Feb 23, 2023 09:135,29236,503,31114,941,0001,992,0002,531,328
5Feb 23, 2023 09:135,29242,442,46614,943,0001,992,0002,375,680
6Feb 23, 2023 09:135,29837,588,66314,959,0001,994,0002,269,184
7Feb 23, 2023 09:135,29839,653,00314,960,0001,994,0002,269,184
8Feb 23, 2023 09:135,30536,426,98814,979,0001,997,0002,269,184
9Feb 23, 2023 09:135,31440,391,76415,004,0002,000,0002,473,984
10Feb 23, 2023 09:135,51982,061,15317,659,97702,244,608
11Feb 23, 2023 09:135,52089,676,05717,664,10302,256,896
12Feb 23, 2023 09:135,53291,626,91017,701,42202,248,704