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 5, 2021 12:21Andrey TsvetkovAndrey TsvetkovScore: 5,633Success
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 12:215,58336,970,99015,880,0001,985,0002,433,024
2Sep 4, 2021 22:135,59234,063,84815,907,0001,988,0002,441,216
3Sep 5, 2021 12:215,59243,824,07515,905,0001,988,0002,342,912
4Sep 4, 2021 22:135,59645,884,80016,853,0001,053,0002,342,912
5Sep 4, 2021 22:135,59834,882,90716,917,000995,0002,433,024
6Sep 4, 2021 22:135,60143,529,42215,932,0001,991,0002,342,912
7Sep 5, 2021 12:215,61045,441,14715,959,0001,994,0002,342,912
8Sep 4, 2021 22:135,61139,078,97915,960,0001,995,0002,437,120
9Sep 5, 2021 12:215,61540,596,13415,971,0001,996,0002,531,328
10Sep 4, 2021 22:135,61847,567,88816,981,000998,0002,342,912
11Sep 5, 2021 12:215,62346,878,93416,994,000999,0002,342,912
12Sep 5, 2021 12:215,62643,843,45316,002,0002,000,0002,428,928
13Sep 4, 2021 22:135,63347,761,22617,023,0001,001,0002,437,120
14Sep 4, 2021 22:135,63542,896,41317,030,0001,001,0002,342,912
15Sep 5, 2021 12:215,63945,690,15116,041,0002,005,0002,437,120
16Sep 5, 2021 12:215,64047,715,29316,042,0002,005,0002,437,120
17Sep 4, 2021 22:135,640101,822,72718,048,06302,273,280
18Sep 5, 2021 12:215,65040,892,47017,077,0001,004,0002,428,928
19Sep 4, 2021 22:135,66643,051,16416,118,0002,014,0002,334,720
20Sep 4, 2021 22:135,68391,067,96618,185,90402,277,376
21Sep 5, 2021 12:215,77099,020,48618,463,02502,273,280
22Sep 4, 2021 22:135,79587,101,04218,544,01002,273,280
23Sep 5, 2021 12:216,00879,413,56019,224,76002,277,376
24Sep 5, 2021 12:216,26784,755,82420,053,69602,265,088