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 22, 2024 12:05matsuoka-601matsuoka-601Score: 5,632Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:055,58244,730,21616,870,000992,0002,269,184
2Jan 22, 2024 12:055,58739,635,30015,892,0001,986,0002,273,280
3Jan 22, 2024 12:055,58741,347,97216,886,000993,0002,293,760
4Jan 22, 2024 12:055,61541,648,19915,973,0001,996,0002,293,760
5Jan 22, 2024 12:055,62451,547,54915,997,0001,999,0002,277,376
6Jan 22, 2024 12:055,62744,506,67916,005,0002,000,0002,293,760
7Jan 22, 2024 12:055,63244,834,94316,019,0002,002,0002,293,760
8Jan 22, 2024 12:055,63547,387,12216,030,0002,003,0002,273,280
9Jan 22, 2024 12:055,64438,335,06616,055,0002,006,0002,269,184
10Jan 22, 2024 12:055,77286,171,97218,470,72302,306,048
11Jan 22, 2024 12:055,783105,188,39218,506,05202,174,976
12Jan 22, 2024 12:055,80597,515,44918,577,13402,293,760