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:15DarkclainerDarkclainerScore: 5,351Success
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:155,32746,774,32516,045,0001,002,0002,531,328
2Feb 21, 2023 12:155,33145,762,85116,057,0001,003,0002,269,184
3Feb 21, 2023 12:155,33348,841,49215,058,0002,007,0002,269,184
4Feb 21, 2023 12:155,34232,763,01015,082,0002,011,0002,375,680
5Feb 21, 2023 12:155,34441,115,56416,096,0001,006,0002,375,680
6Feb 21, 2023 12:155,35041,717,60016,114,0001,007,0002,379,776
7Feb 21, 2023 12:155,35147,562,74916,117,0001,007,0002,269,184
8Feb 21, 2023 12:155,35935,738,17615,132,0002,017,0002,269,184
9Feb 21, 2023 12:155,36147,681,89715,136,0002,018,0002,371,584
10Feb 21, 2023 12:155,55085,437,12617,761,14402,248,704
11Feb 21, 2023 12:155,56394,387,30117,802,10002,248,704
12Feb 21, 2023 12:155,581102,574,65017,858,71002,236,416