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 31, 2023 11:44Max BesogonovMax BesogonovScore: 5,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2023 11:445,66742,644,21017,127,0001,007,0002,277,376
2Jul 31, 2023 11:445,68544,959,81216,170,0002,021,0002,277,376
3Jul 31, 2023 11:445,69039,556,51815,173,0003,034,0002,375,680
4Jul 31, 2023 11:445,69740,817,86216,205,0002,025,0002,277,376
5Jul 31, 2023 11:445,71336,405,98216,252,0002,031,0002,392,064
6Jul 31, 2023 11:445,71639,647,85415,244,0003,048,0002,277,376
7Jul 31, 2023 11:445,72035,200,04816,271,0002,033,0002,277,376
8Jul 31, 2023 11:445,73233,674,39118,343,00002,281,472
9Jul 31, 2023 11:445,73641,327,47016,316,0002,039,0002,277,376
10Jul 31, 2023 11:445,95786,152,32319,063,13302,183,168
11Jul 31, 2023 11:445,96197,189,68119,075,00802,285,568
12Jul 31, 2023 11:445,97197,654,64819,107,95002,289,664