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 19, 2023 04:43Kenneth MaplesKenneth MaplesScore: 5,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 04:435,18433,056,63015,554,0001,036,0002,265,088
2Dec 19, 2023 04:435,19443,113,58216,621,00002,400,256
3Dec 19, 2023 04:435,19742,729,23615,591,0001,039,0002,379,776
4Dec 19, 2023 04:435,20047,784,21116,640,00002,396,160
5Dec 19, 2023 04:435,20043,447,19515,600,0001,040,0002,387,968
6Dec 19, 2023 04:435,20441,324,04015,612,0001,040,0002,265,088
7Dec 19, 2023 04:435,21238,459,48715,636,0001,042,0002,396,160
8Dec 19, 2023 04:435,21544,028,96114,726,0001,963,0002,265,088
9Dec 19, 2023 04:435,27435,330,87515,885,000992,0002,265,088
10Dec 19, 2023 04:435,39690,077,64117,266,08602,273,280
11Dec 19, 2023 04:435,40087,403,42617,278,43902,265,088
12Dec 19, 2023 04:435,41698,724,46217,330,12302,265,088