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 listJan 23, 2024 16:20Gokberk YaltirakliGokberk YaltirakliScore: 5,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 16:205,85636,117,88517,699,0001,041,0002,277,376
2Jan 23, 2024 16:205,89146,107,56017,860,000992,0002,289,664
3Jan 23, 2024 16:205,89444,831,18017,870,000992,0002,273,280
4Jan 23, 2024 16:205,90245,367,57816,899,0001,988,0002,289,664
5Jan 23, 2024 16:205,90347,724,34317,894,000994,0002,289,664
6Jan 23, 2024 16:205,90343,619,92316,902,0001,988,0002,289,664
7Jan 23, 2024 16:205,90434,956,14216,905,0001,988,0002,265,088
8Jan 23, 2024 16:205,91041,247,29716,922,0001,990,0002,273,280
9Jan 23, 2024 16:205,92347,541,25016,958,0001,995,0002,289,664
10Jan 23, 2024 16:206,083107,017,78919,465,79002,293,760
11Jan 23, 2024 16:206,09085,735,65319,489,40502,301,952
12Jan 23, 2024 16:206,10585,105,70419,537,34602,297,856