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,662Success
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:025,61048,808,32316,956,000997,0002,437,120
2Sep 4, 2021 22:065,62643,499,92916,003,0002,000,0002,433,024
3Sep 4, 2021 22:025,62843,045,00416,010,0002,001,0002,441,216
4Sep 4, 2021 22:025,62933,645,28616,011,0002,001,0002,437,120
5Sep 4, 2021 22:065,63432,562,34316,027,0002,003,0002,437,120
6Sep 4, 2021 22:025,63739,423,95216,035,0002,004,0002,338,816
7Sep 4, 2021 22:025,64134,163,68816,046,0002,005,0002,437,120
8Sep 4, 2021 22:065,64533,108,00316,058,0002,007,0002,441,216
9Sep 4, 2021 22:065,64535,141,14817,060,0001,003,0002,433,024
10Sep 4, 2021 22:065,64845,512,78717,071,0001,004,0002,342,912
11Sep 4, 2021 22:065,65177,663,93518,082,13802,277,376
12Sep 4, 2021 22:025,65644,537,39017,093,0001,005,0002,437,120
13Sep 4, 2021 22:065,66243,984,42917,113,0001,006,0002,441,216
14Sep 4, 2021 22:025,66285,675,94818,119,89702,293,760
15Sep 4, 2021 22:025,66540,681,66916,114,0002,014,0002,543,616
16Sep 4, 2021 22:065,67743,224,06417,158,0001,009,0002,441,216
17Sep 4, 2021 22:025,67742,903,69517,157,0001,009,0002,342,912
18Sep 4, 2021 22:065,67947,391,52316,153,0002,019,0002,437,120
19Sep 4, 2021 22:025,68494,019,91018,187,91002,269,184
20Sep 4, 2021 22:065,68940,795,41516,182,0002,022,0002,428,928
21Sep 4, 2021 22:025,70381,909,40218,251,02202,273,280
22Sep 4, 2021 22:025,70634,668,07916,231,0002,028,0002,531,328
23Sep 4, 2021 22:065,80177,472,74918,563,45702,269,184
24Sep 4, 2021 22:065,85587,191,07118,735,89402,265,088