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 5, 2024 14:30Nao YonashiroNao YonashiroScore: 4,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 14:304,64942,296,83412,894,0001,983,0002,289,664
2Aug 5, 2024 14:304,66747,032,06113,940,000995,0002,289,664
3Aug 5, 2024 14:304,67030,880,55812,953,0001,992,0002,273,280
4Aug 5, 2024 14:304,67231,659,48912,957,0001,993,0002,277,376
5Aug 5, 2024 14:304,67431,405,40812,964,0001,994,0002,289,664
6Aug 5, 2024 14:304,67729,383,91313,970,000997,0002,289,664
7Aug 5, 2024 14:304,68237,897,08112,984,0001,997,0002,289,664
8Aug 5, 2024 14:304,68450,653,59213,991,000999,0002,277,376
9Aug 5, 2024 14:304,68740,537,25212,998,0001,999,0002,289,664
10Aug 5, 2024 14:304,68739,038,96612,999,0001,999,0002,277,376
11Aug 5, 2024 14:304,69140,172,51513,011,0002,001,0002,277,376
12Aug 5, 2024 14:304,69345,831,82213,016,0002,002,0002,281,472
13Aug 5, 2024 14:304,69545,535,38713,020,0002,003,0002,277,376
14Aug 5, 2024 14:304,70739,768,07713,053,0002,008,0002,289,664
15Aug 5, 2024 14:304,72538,066,16913,104,0002,016,0002,277,376
16Aug 5, 2024 14:304,73330,913,99014,138,0001,009,0002,285,568
17Aug 5, 2024 14:304,73531,240,56813,131,0002,020,0002,265,088
18Aug 5, 2024 14:304,76136,129,17314,221,0001,015,0002,265,088
19Aug 5, 2024 14:304,90787,956,20215,701,45102,183,168
20Aug 5, 2024 14:304,90895,930,76515,704,24902,179,072
21Aug 5, 2024 14:304,91673,276,58115,730,97102,297,856
22Aug 5, 2024 14:304,922106,215,59215,749,61102,179,072
23Aug 5, 2024 14:304,93580,591,86715,790,56302,183,168
24Aug 5, 2024 14:304,94782,553,21915,831,38002,318,336