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 listAug 17, 2024 05:40Yuriy LyfenkoYuriy LyfenkoScore: 4,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:424,494537,967,40214,382,00002,523,136
2Aug 17, 2024 05:424,499548,816,07714,397,00002,523,136
3Aug 17, 2024 05:424,499536,652,34114,396,00002,514,944
4Aug 17, 2024 05:404,501538,722,22114,402,00002,514,944
5Aug 17, 2024 05:404,502540,205,09213,378,0001,029,0002,387,968
6Aug 17, 2024 05:404,504541,723,49513,383,0001,029,0002,514,944
7Aug 17, 2024 05:424,512537,581,51014,439,00002,514,944
8Aug 17, 2024 05:404,513539,718,03014,440,00002,514,944
9Aug 17, 2024 05:404,514535,587,03514,445,00002,514,944
10Aug 17, 2024 05:424,514536,900,65513,414,0001,031,0002,514,944
11Aug 17, 2024 05:424,515535,989,98814,447,00002,514,944
12Aug 17, 2024 05:424,520541,448,11713,431,0001,033,0002,514,944
13Aug 17, 2024 05:424,522534,336,21413,437,0001,033,0002,510,848
14Aug 17, 2024 05:404,522536,854,46214,470,00002,514,944
15Aug 17, 2024 05:424,524538,329,44614,478,00002,523,136
16Aug 17, 2024 05:404,524537,975,29814,477,00002,514,944
17Aug 17, 2024 05:404,524540,569,17114,478,00002,523,136
18Aug 17, 2024 05:404,567541,844,40213,571,0001,043,0002,523,136
19Aug 17, 2024 05:424,846583,495,29715,505,83902,228,224
20Aug 17, 2024 05:424,858588,412,94115,544,75102,334,720
21Aug 17, 2024 05:424,863577,017,94815,562,69902,277,376
22Aug 17, 2024 05:404,871577,463,49115,586,17902,273,280
23Aug 17, 2024 05:404,871591,125,97515,585,60702,273,280
24Aug 17, 2024 05:404,873591,738,85415,592,00102,269,184