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 listMay 8, 2024 21:46Joad NacerJoad NacerScore: 5,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:464,96732,635,96514,834,0001,059,0002,523,136
2May 8, 2024 21:464,97839,208,13213,940,0001,991,0002,289,664
3May 8, 2024 21:464,98339,998,41013,953,0001,993,0002,289,664
4May 8, 2024 21:464,98444,320,35714,953,000996,0002,281,472
5May 8, 2024 21:464,98639,592,84113,961,0001,994,0002,527,232
6May 8, 2024 21:464,98941,723,01713,971,0001,995,0002,289,664
7May 8, 2024 21:464,99354,127,28613,979,0001,997,0002,273,280
8May 8, 2024 21:465,00131,142,05615,004,0001,000,0002,289,664
9May 8, 2024 21:465,00433,495,72414,013,0002,001,0002,273,280
10May 8, 2024 21:465,00744,307,14614,020,0002,002,0002,289,664
11May 8, 2024 21:465,00737,746,49715,021,0001,001,0002,289,664
12May 8, 2024 21:465,01332,925,40914,035,0002,005,0002,273,280
13May 8, 2024 21:465,01832,604,64014,051,0002,007,0002,265,088
14May 8, 2024 21:465,02539,448,00614,070,0002,010,0002,289,664
15May 8, 2024 21:465,02831,468,52814,078,0002,011,0002,289,664
16May 8, 2024 21:465,02845,865,12315,085,0001,005,0002,289,664
17May 8, 2024 21:465,03043,999,39214,085,0002,012,0002,289,664
18May 8, 2024 21:465,03437,920,43914,095,0002,013,0002,269,184
19May 8, 2024 21:465,06878,172,77916,216,37302,174,976
20May 8, 2024 21:465,06991,711,53516,220,48402,297,856
21May 8, 2024 21:465,06964,928,74916,221,86002,301,952
22May 8, 2024 21:465,08395,205,27516,266,93002,301,952
23May 8, 2024 21:465,10156,504,47916,324,14102,293,760
24May 8, 2024 21:465,10197,321,37816,322,12602,297,856