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 listSep 4, 2021 22:06Andrey TsvetkovAndrey TsvetkovScore: 5,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:065,65840,968,29316,094,0002,011,0002,342,912
2Sep 4, 2021 22:015,67448,177,23917,148,0001,008,0002,342,912
3Sep 4, 2021 22:065,67442,576,60517,150,0001,008,0002,441,216
4Sep 4, 2021 22:065,67944,311,48916,155,0002,019,0002,514,944
5Sep 4, 2021 22:065,68040,539,32117,167,0001,009,0002,437,120
6Sep 4, 2021 22:015,68642,190,54817,184,0001,010,0002,342,912
7Sep 4, 2021 22:015,68840,828,98317,190,0001,011,0002,437,120
8Sep 4, 2021 22:015,69132,399,76416,188,0002,023,0002,433,024
9Sep 4, 2021 22:015,69146,344,77216,189,0002,023,0002,424,832
10Sep 4, 2021 22:015,69235,053,15617,203,0001,011,0002,433,024
11Sep 4, 2021 22:065,69237,598,24317,202,0001,011,0002,342,912
12Sep 4, 2021 22:065,69442,106,42216,198,0002,024,0002,437,120
13Sep 4, 2021 22:015,69643,733,98916,201,0002,025,0002,342,912
14Sep 4, 2021 22:065,70035,325,82716,214,0002,026,0002,433,024
15Sep 4, 2021 22:065,70033,021,30917,228,0001,013,0002,338,816
16Sep 4, 2021 22:065,70265,939,97718,247,25302,281,472
17Sep 4, 2021 22:015,70439,416,27716,226,0002,028,0002,437,120
18Sep 4, 2021 22:015,70592,330,44518,257,40902,281,472
19Sep 4, 2021 22:015,71035,133,98616,241,0002,030,0002,338,816
20Sep 4, 2021 22:065,71572,481,60118,287,80102,281,472
21Sep 4, 2021 22:065,71844,355,66016,264,0002,033,0002,342,912
22Sep 4, 2021 22:065,72088,404,31418,304,59402,277,376
23Sep 4, 2021 22:015,72263,605,97218,310,77302,281,472
24Sep 4, 2021 22:015,85089,977,53018,720,74902,265,088