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 listNov 28, 2022 16:54Andrey TsvetkovAndrey TsvetkovScore: 5,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2022 16:545,54347,091,71916,693,0001,043,0002,334,720
2Nov 28, 2022 16:545,54341,504,51316,694,0001,043,0002,375,680
3Nov 28, 2022 16:545,54447,052,38716,697,0001,043,0002,342,912
4Nov 28, 2022 16:545,54442,744,65016,698,0001,043,0002,342,912
5Nov 28, 2022 16:545,58347,564,44417,865,00002,371,584
6Nov 28, 2022 16:545,58342,010,86016,875,000992,0002,367,488
7Nov 28, 2022 16:545,58734,189,05015,892,0001,986,0002,371,584
8Nov 28, 2022 16:545,58944,474,45916,893,000993,0002,371,584
9Nov 28, 2022 16:545,58941,621,32515,898,0001,987,0002,371,584
10Nov 28, 2022 16:545,58937,824,47315,897,0001,987,0002,342,912
11Nov 28, 2022 16:545,59044,045,52415,902,0001,987,0002,342,912
12Nov 28, 2022 16:545,59044,227,83115,900,0001,987,0002,342,912
13Nov 28, 2022 16:545,59244,004,11716,899,000994,0002,371,584
14Nov 28, 2022 16:545,59744,867,08916,916,000995,0002,342,912
15Nov 28, 2022 16:545,62541,184,96417,000,0001,000,0002,342,912
16Nov 28, 2022 16:545,63345,802,87517,023,0001,001,0002,342,912
17Nov 28, 2022 16:545,63737,521,77016,034,0002,004,0002,363,392
18Nov 28, 2022 16:545,65592,516,77618,096,05602,199,552
19Nov 28, 2022 16:545,65938,125,27817,103,0001,006,0002,371,584
20Nov 28, 2022 16:545,69486,851,52418,221,98602,207,744
21Nov 28, 2022 16:545,70995,219,54018,267,40102,199,552
22Nov 28, 2022 16:545,72778,239,33518,325,33202,203,648
23Nov 28, 2022 16:545,75174,724,32318,402,89602,215,936
24Nov 28, 2022 16:545,75981,358,87318,430,30302,215,936