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 listDec 29, 2023 21:33Alexander MonakovAlexander MonakovScore: 4,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 21:334,47437,019,44614,317,00002,490,368
2Dec 29, 2023 21:334,48833,187,33914,363,00002,277,376
3Dec 29, 2023 21:334,50236,233,75114,406,00002,498,560
4Dec 29, 2023 21:334,50631,184,50314,420,00002,273,280
5Dec 29, 2023 21:334,50836,790,36313,395,0001,030,0002,498,560
6Dec 29, 2023 21:334,51834,654,84114,458,00002,277,376
7Dec 29, 2023 21:334,51829,919,31214,459,00002,273,280
8Dec 29, 2023 21:334,54331,185,21314,537,00002,498,560
9Dec 29, 2023 21:334,57238,274,62313,585,0001,045,0002,502,656
10Dec 29, 2023 21:334,75780,991,37815,221,70602,244,608
11Dec 29, 2023 21:334,77282,147,51815,269,98202,236,416
12Dec 29, 2023 21:334,77787,778,61715,285,14202,236,416