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 15, 2023 00:12LiamLiamScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2023 00:125,58343,941,56215,881,0001,985,0002,400,256
2Feb 15, 2023 00:125,58442,716,84717,868,00002,404,352
3Feb 15, 2023 00:125,58646,994,55517,875,00002,269,184
4Feb 15, 2023 00:125,58840,165,17516,888,000993,0002,408,448
5Feb 15, 2023 00:125,58841,880,24315,896,0001,987,0002,400,256
6Feb 15, 2023 00:125,59044,291,69116,895,000993,0002,510,848
7Feb 15, 2023 00:125,59035,934,17317,889,00002,404,352
8Feb 15, 2023 00:125,59142,634,98212,922,0004,970,0002,400,256
9Feb 15, 2023 00:125,60840,759,13516,949,000997,0002,404,352
10Feb 15, 2023 00:125,82388,359,47218,634,46502,289,664
11Feb 15, 2023 00:125,85681,436,06818,740,30602,285,568
12Feb 15, 2023 00:125,863127,550,89718,762,56002,289,664