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 21, 2023 12:33DarkclainerDarkclainerScore: 5,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 12:335,32449,809,47115,033,0002,004,0002,375,680
2Feb 21, 2023 12:335,33241,395,27815,055,0002,007,0002,269,184
3Feb 21, 2023 12:335,33744,348,04115,069,0002,009,0002,269,184
4Feb 21, 2023 12:335,35146,060,59316,117,0001,007,0002,490,368
5Feb 21, 2023 12:335,36647,994,42615,150,0002,020,0002,379,776
6Feb 21, 2023 12:335,37041,722,97815,164,0002,021,0002,379,776
7Feb 21, 2023 12:335,37043,068,47815,164,0002,021,0002,375,680
8Feb 21, 2023 12:335,37138,465,61515,165,0002,022,0002,269,184
9Feb 21, 2023 12:335,39044,528,25015,218,0002,029,0002,375,680
10Feb 21, 2023 12:335,53982,983,35317,724,79402,248,704
11Feb 21, 2023 12:335,54587,572,95017,743,53502,244,608
12Feb 21, 2023 12:335,57191,223,59017,827,19002,256,896