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 listAug 7, 2024 01:27zielajzielajScore: 4,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:294,63241,060,90812,847,0001,976,0002,277,376
2Aug 7, 2024 01:274,64627,224,77612,885,0001,982,0002,273,280
3Aug 7, 2024 01:274,64843,844,71312,892,0001,983,0002,289,664
4Aug 7, 2024 01:274,64833,079,33612,890,0001,983,0002,277,376
5Aug 7, 2024 01:294,64831,905,99114,873,00002,273,280
6Aug 7, 2024 01:274,65032,697,84612,897,0001,984,0002,285,568
7Aug 7, 2024 01:294,65331,514,50112,906,0001,985,0002,289,664
8Aug 7, 2024 01:294,65344,452,64512,906,0001,985,0002,273,280
9Aug 7, 2024 01:294,65445,249,19213,901,000992,0002,269,184
10Aug 7, 2024 01:294,65932,262,38812,921,0001,987,0002,289,664
11Aug 7, 2024 01:274,66532,483,41713,933,000995,0002,273,280
12Aug 7, 2024 01:294,66632,319,81612,940,0001,990,0002,265,088
13Aug 7, 2024 01:274,67831,827,06612,973,0001,995,0002,269,184
14Aug 7, 2024 01:294,68341,410,63112,988,0001,998,0002,289,664
15Aug 7, 2024 01:274,68638,167,09312,997,0001,999,0002,269,184
16Aug 7, 2024 01:294,68832,303,06713,000,0002,000,0002,277,376
17Aug 7, 2024 01:274,69232,515,48813,013,0002,002,0002,273,280
18Aug 7, 2024 01:274,69243,481,41713,012,0002,001,0002,289,664
19Aug 7, 2024 01:294,86066,436,09815,553,13102,297,856
20Aug 7, 2024 01:274,86180,206,35915,553,84402,183,168
21Aug 7, 2024 01:274,87760,605,45715,606,81002,256,896
22Aug 7, 2024 01:294,89489,740,04015,660,66002,179,072
23Aug 7, 2024 01:274,90970,279,46115,709,54002,306,048
24Aug 7, 2024 01:294,95987,953,23915,869,37902,306,048