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 21:02Ilya AniskovetsIlya AniskovetsScore: 5,728Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 05:055,68045,208,92117,166,0001,009,0002,289,664
2Sep 5, 2021 05:055,69533,799,07516,199,0002,024,0002,289,664
3Sep 5, 2021 05:055,69844,736,25416,209,0002,026,0002,273,280
4Sep 5, 2021 05:055,70341,451,77916,223,0002,027,0002,269,184
5Sep 5, 2021 05:055,70541,194,59516,229,0002,028,0002,269,184
6Sep 5, 2021 05:055,70841,215,81916,237,0002,029,0002,289,664
7Sep 4, 2021 21:025,71140,629,90117,260,0001,015,0002,289,664
8Sep 4, 2021 21:025,71347,267,33416,251,0002,031,0002,527,232
9Sep 4, 2021 21:025,71337,812,79116,251,0002,031,0002,289,664
10Sep 4, 2021 21:025,72143,324,91216,274,0002,034,0002,289,664
11Sep 4, 2021 21:025,72143,649,52016,272,0002,034,0002,375,680
12Sep 4, 2021 21:025,72541,599,79016,286,0002,035,0002,289,664
13Sep 5, 2021 05:055,72838,300,87016,292,0002,036,0002,273,280
14Sep 4, 2021 21:025,73234,723,20616,305,0002,038,0002,277,376
15Sep 4, 2021 21:025,73641,281,84616,315,0002,039,0002,273,280
16Sep 4, 2021 21:025,73934,436,96117,346,0001,020,0002,285,568
17Sep 5, 2021 05:055,74448,079,40817,361,0001,021,0002,289,664
18Sep 5, 2021 05:055,76741,819,45316,403,0002,050,0002,289,664
19Sep 4, 2021 21:025,87684,301,92818,804,32502,297,856
20Sep 5, 2021 05:055,88294,103,86018,821,67702,301,952
21Sep 5, 2021 05:055,90778,345,22018,903,58302,297,856
22Sep 4, 2021 21:025,91183,655,64818,916,47602,293,760
23Sep 4, 2021 21:025,92290,412,84218,949,86402,301,952
24Sep 5, 2021 05:055,93384,619,49818,986,31002,297,856