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 listApr 22, 2024 02:41Yuriy LyfenkoYuriy LyfenkoScore: 7,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 02:416,02988,084,42619,292,13402,289,664
2Apr 22, 2024 02:416,09297,665,37919,494,40102,281,472
3Apr 22, 2024 02:416,18183,509,89419,778,03602,285,568
4Apr 22, 2024 02:416,84050,225,48919,898,0001,989,0002,543,616
5Apr 22, 2024 02:417,07552,316,06820,582,0002,058,0002,465,792
6Apr 22, 2024 02:417,08346,582,10420,606,0002,060,0002,310,144
7Apr 22, 2024 02:417,08751,258,83220,616,0002,061,0002,469,888
8Apr 22, 2024 02:417,11852,042,07222,778,00002,543,616
9Apr 22, 2024 02:417,14454,113,45220,874,0001,988,0002,469,888
10Apr 22, 2024 02:417,16549,423,47121,885,0001,042,0002,469,888
11Apr 22, 2024 02:417,21056,407,36220,062,0003,009,0002,539,520
12Apr 22, 2024 02:417,21251,010,58120,068,0003,010,0002,465,792