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 listMar 15, 2023 21:05Alexander MonakovAlexander MonakovScore: 5,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 21:055,16532,062,64015,495,0001,033,0002,400,256
2Mar 15, 2023 21:055,17336,822,97415,518,0001,034,0002,281,472
3Mar 15, 2023 21:055,17841,839,88215,536,0001,035,0002,408,448
4Mar 15, 2023 21:055,18341,064,80415,548,0001,036,0002,281,472
5Mar 15, 2023 21:055,19535,376,76915,586,0001,039,0002,281,472
6Mar 15, 2023 21:055,20840,983,21116,665,00002,404,352
7Mar 15, 2023 21:055,21436,082,60816,684,00002,281,472
8Mar 15, 2023 21:055,22242,697,36016,710,00002,400,256
9Mar 15, 2023 21:055,27137,651,75816,866,00002,494,464
10Mar 15, 2023 21:055,36774,455,72217,175,88802,289,664
11Mar 15, 2023 21:055,37782,656,99017,206,40302,293,760
12Mar 15, 2023 21:055,38393,290,15317,226,53702,289,664