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 listJun 26, 2024 21:02Andrey LikhachevAndrey LikhachevScore: 4,663Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 10:174,64334,730,59612,876,0001,981,0002,371,584
2Aug 31, 2024 10:174,64529,607,06513,874,000991,0002,371,584
3Jun 26, 2024 21:024,64632,175,78612,884,0001,982,0002,367,488
4Aug 31, 2024 10:174,65134,156,43413,891,000992,0002,285,568
5Jun 26, 2024 21:024,65229,503,10312,901,0001,984,0002,367,488
6Aug 31, 2024 10:174,65232,566,88412,901,0001,984,0002,367,488
7Jun 26, 2024 21:024,65437,163,20212,907,0001,985,0002,371,584
8Aug 31, 2024 10:174,65430,563,63513,901,000992,0002,371,584
9Aug 31, 2024 10:174,65546,074,33313,903,000993,0002,379,776
10Jun 26, 2024 21:024,65532,673,21712,911,0001,986,0002,383,872
11Aug 31, 2024 10:174,65644,335,35813,905,000993,0002,289,664
12Jun 26, 2024 21:024,66030,690,36312,924,0001,988,0002,363,392
13Aug 31, 2024 10:174,66333,868,42712,932,0001,989,0002,379,776
14Aug 31, 2024 10:174,66342,039,91714,923,00002,289,664
15Jun 26, 2024 21:024,66432,335,58813,931,000995,0002,375,680
16Jun 26, 2024 21:024,66532,618,66513,933,000995,0002,375,680
17Jun 26, 2024 21:024,67830,660,35013,971,000997,0002,363,392
18Aug 31, 2024 10:174,68144,421,65312,981,0001,997,0002,289,664
19Jun 26, 2024 21:024,69532,996,78113,022,0002,003,0002,371,584
20Aug 31, 2024 10:174,69636,844,17414,027,0001,001,0002,285,568
21Aug 31, 2024 10:174,69833,027,91913,030,0002,004,0002,375,680
22Jun 26, 2024 21:024,90891,821,91915,705,58002,248,704
23Jun 26, 2024 21:024,91083,829,53515,710,44402,244,608
24Jun 26, 2024 21:024,93487,121,46115,789,40102,252,800