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 5, 2024 17:42Nao YonashiroNao YonashiroScore: 4,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 17:424,43541,019,97412,165,0002,027,0002,265,088
2Aug 5, 2024 17:424,43634,420,39012,168,0002,028,0002,392,064
3Aug 5, 2024 17:424,46141,285,67113,255,0001,019,0002,392,064
4Aug 5, 2024 17:424,46830,745,05114,297,00002,265,088
5Aug 5, 2024 17:424,47030,456,01213,284,0001,021,0002,265,088
6Aug 5, 2024 17:424,47136,755,87313,286,0001,022,0002,265,088
7Aug 5, 2024 17:424,47138,749,73213,286,0001,022,0002,265,088
8Aug 5, 2024 17:424,47428,760,34013,296,0001,022,0002,387,968
9Aug 5, 2024 17:424,47733,143,76913,303,0001,023,0002,265,088
10Aug 5, 2024 17:424,47733,822,67612,281,0002,046,0002,383,872
11Aug 5, 2024 17:424,47734,751,76913,303,0001,023,0002,400,256
12Aug 5, 2024 17:424,48032,552,20514,336,00002,387,968
13Aug 5, 2024 17:424,48135,278,29514,340,00002,527,232
14Aug 5, 2024 17:424,48735,719,28614,358,00002,387,968
15Aug 5, 2024 17:424,49230,784,59513,347,0001,026,0002,396,160
16Aug 5, 2024 17:424,49238,932,70614,375,00002,265,088
17Aug 5, 2024 17:424,49629,871,62413,360,0001,027,0002,392,064
18Aug 5, 2024 17:424,50033,502,19714,399,00002,383,872
19Aug 5, 2024 17:424,72276,204,10515,111,53402,289,664
20Aug 5, 2024 17:424,72786,968,51015,125,54102,281,472
21Aug 5, 2024 17:424,74588,016,24315,185,37002,281,472
22Aug 5, 2024 17:424,74567,302,95015,182,62402,277,376
23Aug 5, 2024 17:424,74587,356,85315,185,49302,293,760
24Aug 5, 2024 17:424,76273,365,75815,237,63902,281,472