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 listSep 7, 2022 04:50Yuriy LyfenkoYuriy LyfenkoScore: 4,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:494,378543,048,27812,008,0002,001,0002,265,088
2Sep 7, 2022 04:524,399541,035,66012,066,0002,011,0002,265,088
3Sep 7, 2022 04:524,401538,769,74312,071,0002,011,0002,387,968
4Sep 7, 2022 04:494,406539,625,30512,086,0002,014,0002,514,944
5Sep 7, 2022 04:494,407541,304,17212,089,0002,014,0002,387,968
6Sep 7, 2022 04:524,410542,945,13413,105,0001,008,0002,523,136
7Sep 7, 2022 04:524,414538,779,96313,117,0001,009,0002,265,088
8Sep 7, 2022 04:494,423538,630,90212,131,0002,021,0002,527,232
9Sep 7, 2022 04:494,424539,010,84012,135,0002,022,0002,260,992
10Sep 7, 2022 04:524,424544,843,89112,135,0002,022,0002,265,088
11Sep 7, 2022 04:494,428545,519,71112,144,0002,024,0002,265,088
12Sep 7, 2022 04:524,431537,284,62313,167,0001,012,0002,260,992
13Sep 7, 2022 04:494,433544,085,60013,171,0001,013,0002,392,064
14Sep 7, 2022 04:494,440538,582,68714,207,00002,527,232
15Sep 7, 2022 04:494,444545,895,76412,190,0002,031,0002,265,088
16Sep 7, 2022 04:494,457545,477,10713,245,0001,018,0002,523,136
17Sep 7, 2022 04:524,468540,891,35313,275,0001,021,0002,523,136
18Sep 7, 2022 04:494,472542,042,94114,310,00002,392,064
19Sep 7, 2022 04:494,475536,099,36514,320,00002,523,136
20Sep 7, 2022 04:494,480541,843,33413,312,0001,024,0002,523,136
21Sep 7, 2022 04:494,481536,534,99014,340,00002,383,872
22Sep 7, 2022 04:494,486544,890,65013,331,0001,025,0002,523,136
23Sep 7, 2022 04:494,486537,098,52113,331,0001,025,0002,260,992
24Sep 7, 2022 04:524,497542,301,71713,362,0001,027,0002,260,992
25Sep 7, 2022 04:494,523539,892,42314,474,00002,260,992
26Sep 7, 2022 04:524,548540,247,59614,553,00002,527,232
27Sep 7, 2022 04:494,549547,552,70913,517,0001,039,0002,260,992
28Sep 7, 2022 04:524,598573,356,50114,713,05502,244,608
29Sep 7, 2022 04:494,598568,484,47214,712,64202,277,376
30Sep 7, 2022 04:494,600569,043,16614,721,44202,240,512
31Sep 7, 2022 04:524,603570,777,54714,730,21602,244,608
32Sep 7, 2022 04:524,611579,114,20614,753,90102,269,184
33Sep 7, 2022 04:494,627572,124,24414,805,70802,281,472
34Sep 7, 2022 04:494,648580,557,05014,872,57902,244,608
35Sep 7, 2022 04:494,653582,918,76514,890,74002,277,376
36Sep 7, 2022 04:494,666578,450,62914,929,74702,240,512
37Sep 7, 2022 04:505,339542,881,85915,076,0002,010,0002,523,136
38Sep 7, 2022 04:505,344551,704,05315,090,0002,012,0002,265,088
39Sep 7, 2022 04:505,348547,666,73516,108,0001,006,0002,523,136
40Sep 7, 2022 04:505,355549,034,43615,120,0002,016,0002,523,136
41Sep 7, 2022 04:505,360543,890,76916,144,0001,009,0002,523,136
42Sep 7, 2022 04:505,365545,262,72416,159,0001,009,0002,265,088
43Sep 7, 2022 04:505,374542,878,53716,187,0001,011,0002,265,088
44Sep 7, 2022 04:505,377539,112,60316,194,0001,012,0002,260,992
45Sep 7, 2022 04:505,401541,239,80117,284,00002,523,136
46Sep 7, 2022 04:505,495578,674,60717,583,08202,277,376
47Sep 7, 2022 04:505,515580,883,90817,646,41402,277,376
48Sep 7, 2022 04:505,538582,755,55317,722,47502,240,512