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 15, 2024 14:35kytanskytansScore: 4,560Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:354,52633,304,45114,483,00002,277,376
2Jul 15, 2024 14:414,52730,351,59214,487,00002,506,752
3Jul 15, 2024 14:414,52832,396,64614,489,00002,506,752
4Jul 15, 2024 14:354,53426,487,82114,510,00002,498,560
5Jul 15, 2024 14:354,53432,432,51414,510,00002,277,376
6Jul 15, 2024 14:354,53633,285,66614,516,00002,535,424
7Jul 15, 2024 14:414,53828,884,21614,520,00002,506,752
8Jul 15, 2024 14:414,54232,837,64514,535,00002,277,376
9Jul 15, 2024 14:414,54338,046,12014,537,00002,506,752
10Jul 15, 2024 14:414,54734,447,57014,551,00002,506,752
11Jul 15, 2024 14:354,54927,104,99714,556,00002,277,376
12Jul 15, 2024 14:414,55941,654,94914,589,00002,535,424
13Jul 15, 2024 14:354,56030,797,34814,593,00002,277,376
14Jul 15, 2024 14:354,56132,779,60814,595,00002,277,376
15Jul 15, 2024 14:354,56228,390,49114,598,00002,273,280
16Jul 15, 2024 14:414,56934,363,62614,620,00002,277,376
17Jul 15, 2024 14:414,57130,301,28714,626,00002,277,376
18Jul 15, 2024 14:354,57538,513,74514,640,00002,277,376
19Jul 15, 2024 14:354,795105,172,14715,343,32702,240,512
20Jul 15, 2024 14:414,79674,500,63015,347,16602,375,680
21Jul 15, 2024 14:414,79963,992,85615,356,97502,383,872
22Jul 15, 2024 14:354,802121,885,89015,367,61002,248,704
23Jul 15, 2024 14:354,80961,410,06215,389,32402,387,968
24Jul 15, 2024 14:414,81159,633,07915,394,73102,248,704