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 5, 2022 18:11deniskolsanovdeniskolsanovScore: 5,485Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2022 18:115,45738,110,66616,436,0001,027,0002,289,664
2Aug 5, 2022 18:115,45837,567,53116,439,0001,027,0002,379,776
3Aug 5, 2022 18:115,45840,582,88517,466,00002,367,488
4Aug 5, 2022 18:115,47339,392,59116,485,0001,030,0002,367,488
5Aug 5, 2022 18:115,47440,211,40917,516,00002,285,568
6Aug 5, 2022 18:115,48341,065,59216,513,0001,032,0002,375,680
7Aug 5, 2022 18:115,48548,278,28416,521,0001,032,0002,371,584
8Aug 5, 2022 18:115,49040,619,51716,536,0001,033,0002,289,664
9Aug 5, 2022 18:115,49135,154,10117,572,00002,289,664
10Aug 5, 2022 18:115,69680,139,24818,227,34502,244,608
11Aug 5, 2022 18:115,72759,020,00618,327,63202,232,320
12Aug 5, 2022 18:115,72987,202,76318,334,34802,244,608