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 19, 2024 08:52AnSaAnSaScore: 5,600Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 08:525,50736,942,70916,587,0001,036,0002,379,776
2Jan 19, 2024 08:525,51342,775,96616,605,0001,037,0002,457,600
3Jan 19, 2024 08:525,54350,774,30917,739,00002,371,584
4Jan 19, 2024 08:525,57541,960,15616,850,000991,0002,371,584
5Jan 19, 2024 08:525,57933,901,70015,870,0001,983,0002,465,792
6Jan 19, 2024 08:525,58144,740,93715,874,0001,984,0002,379,776
7Jan 19, 2024 08:525,60045,238,97215,928,0001,991,0002,371,584
8Jan 19, 2024 08:525,60444,113,91915,941,0001,992,0002,465,792
9Jan 19, 2024 08:525,60751,483,17815,948,0001,993,0002,371,584
10Jan 19, 2024 08:525,76994,102,93518,460,85102,301,952
11Jan 19, 2024 08:525,77486,699,53018,476,97102,170,880
12Jan 19, 2024 08:525,79287,056,91018,533,19902,289,664