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 3, 2023 00:03Alexander KimAlexander KimScore: 5,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 00:035,59244,076,43916,901,000994,0002,445,312
2Jan 3, 2023 00:035,59342,364,77316,902,000994,0002,437,120
3Jan 3, 2023 00:035,60443,677,92915,940,0001,992,0002,342,912
4Jan 3, 2023 00:035,60744,389,10315,948,0001,993,0002,437,120
5Jan 3, 2023 00:035,60734,795,92016,947,000996,0002,334,720
6Jan 3, 2023 00:035,62738,678,85817,006,0001,000,0002,445,312
7Jan 3, 2023 00:035,63144,372,20717,018,0001,001,0002,334,720
8Jan 3, 2023 00:035,63542,391,48817,030,0001,001,0002,289,664
9Jan 3, 2023 00:035,63550,970,67316,029,0002,003,0002,437,120
10Jan 3, 2023 00:035,70774,458,92018,261,80302,265,088
11Jan 3, 2023 00:035,74079,902,84318,367,98702,248,704
12Jan 3, 2023 00:035,85585,265,68018,736,81002,265,088