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 listJul 16, 2023 15:01Alexander MonakovAlexander MonakovScore: 4,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2023 15:014,47232,846,36014,310,00002,277,376
2Dec 29, 2023 21:324,48829,724,86714,363,00002,498,560
3Jul 16, 2023 15:014,49731,852,28814,389,00002,498,560
4Dec 29, 2023 21:324,49833,848,42214,395,00002,277,376
5Dec 29, 2023 21:324,49933,893,54214,396,00002,277,376
6Jul 16, 2023 15:014,51128,694,52514,436,00002,277,376
7Dec 29, 2023 21:324,51939,118,56714,460,00002,277,376
8Jul 16, 2023 15:014,52029,913,29714,465,00002,273,280
9Dec 29, 2023 21:324,52233,773,79714,469,00002,494,464
10Dec 29, 2023 21:324,52832,730,55914,491,00002,494,464
11Jul 16, 2023 15:014,53127,728,83614,498,00002,277,376
12Jul 16, 2023 15:014,53227,825,89214,503,00002,277,376
13Jul 16, 2023 15:014,53330,395,16714,507,00002,535,424
14Dec 29, 2023 21:324,53529,578,97814,511,00002,277,376
15Jul 16, 2023 15:014,53837,350,83714,521,00002,277,376
16Dec 29, 2023 21:324,54335,632,76414,538,00002,277,376
17Dec 29, 2023 21:324,55836,399,50414,587,00002,277,376
18Jul 16, 2023 15:014,56445,000,62313,563,0001,043,0002,498,560
19Dec 29, 2023 21:324,74165,330,87515,172,37602,240,512
20Dec 29, 2023 21:324,75180,224,83615,202,17902,244,608
21Jul 16, 2023 15:014,77375,706,24015,272,44202,244,608
22Jul 16, 2023 15:014,78075,775,15815,297,39102,240,512
23Jul 16, 2023 15:014,79665,784,73015,346,42702,240,512
24Dec 29, 2023 21:324,81774,939,50615,413,72902,248,704