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 listAug 22, 2022 16:04Eugene ZhydzetskiEugene ZhydzetskiScore: 5,861Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:045,80040,875,28617,528,0001,031,0002,281,472
2Aug 22, 2022 16:045,80635,278,89418,578,00002,334,720
3Aug 22, 2022 16:045,82348,776,00018,634,00002,293,760
4Aug 22, 2022 16:045,82442,186,98818,636,00002,334,720
5Aug 22, 2022 16:045,83545,009,57017,634,0001,037,0002,334,720
6Aug 22, 2022 16:045,84545,042,91317,664,0001,039,0002,334,720
7Aug 22, 2022 16:045,86148,010,18518,754,00002,334,720
8Aug 22, 2022 16:045,88645,950,86316,854,0001,982,0002,535,424
9Aug 22, 2022 16:045,89680,570,33718,868,41302,252,800
10Aug 22, 2022 16:045,90144,283,92617,889,000993,0002,347,008
11Aug 22, 2022 16:045,91882,618,17618,938,98302,252,800
12Aug 22, 2022 16:045,941106,109,72919,012,53902,244,608