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 13, 2024 03:12джулисджулисScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 03:125,20744,753,08516,661,00002,363,392
2Jun 13, 2024 03:125,21741,063,30715,650,0001,043,0002,371,584
3Jun 13, 2024 03:125,22236,337,32615,665,0001,044,0002,293,760
4Jun 13, 2024 03:135,22343,571,09616,713,00002,293,760
5Jun 13, 2024 03:135,22746,711,63215,680,0001,045,0002,293,760
6Jun 13, 2024 03:135,23238,702,08916,742,00002,379,776
7Jun 13, 2024 03:135,26335,112,91015,853,000990,0002,293,760
8Jun 13, 2024 03:125,26841,342,05014,874,0001,983,0002,293,760
9Jun 13, 2024 03:135,26847,933,56915,867,000991,0002,293,760
10Jun 13, 2024 03:135,26942,550,86816,862,00002,293,760
11Jun 13, 2024 03:125,27032,030,30415,872,000992,0002,494,464
12Jun 13, 2024 03:125,27147,455,31814,884,0001,984,0002,293,760
13Jun 13, 2024 03:135,27249,010,58315,877,000992,0002,371,584
14Jun 13, 2024 03:135,27252,371,36814,887,0001,984,0002,375,680
15Jun 13, 2024 03:125,27242,955,35414,886,0001,984,0002,293,760
16Jun 13, 2024 03:125,27236,168,66215,879,000992,0002,293,760
17Jun 13, 2024 03:135,27550,526,90115,888,000993,0002,293,760
18Jun 13, 2024 03:125,28032,872,97316,897,00002,371,584
19Jun 13, 2024 03:135,47968,980,75017,533,60802,371,584
20Jun 13, 2024 03:125,48491,354,26217,548,31602,244,608
21Jun 13, 2024 03:135,49392,853,09317,578,36002,252,800
22Jun 13, 2024 03:135,49588,903,10817,584,87902,371,584
23Jun 13, 2024 03:125,51083,705,89917,631,73902,232,320
24Jun 13, 2024 03:125,52399,734,36517,673,95302,240,512