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 3, 2022 22:02Franek KortaFranek KortaScore: 4,871Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2022 21:594,83134,144,10014,430,0001,030,0002,531,328
2Sep 3, 2022 21:594,83533,947,28614,441,0001,031,0002,433,024
3Sep 3, 2022 21:594,84141,646,40214,458,0001,032,0002,531,328
4Sep 3, 2022 21:594,84536,366,40713,438,0002,067,0002,433,024
5Sep 3, 2022 21:114,84636,377,46814,474,0001,033,0002,433,024
6Sep 3, 2022 21:594,85336,082,59415,531,00002,531,328
7Sep 3, 2022 21:594,85440,930,13815,533,00002,428,928
8Sep 3, 2022 21:594,85531,316,21513,466,0002,071,0002,437,120
9Sep 3, 2022 21:114,85834,112,42115,544,00002,531,328
10Sep 3, 2022 22:024,85839,723,84014,511,0001,036,0002,269,184
11Sep 3, 2022 21:114,85937,436,09714,512,0001,036,0002,441,216
12Sep 3, 2022 22:024,86236,361,04814,520,0001,037,0002,433,024
13Sep 3, 2022 22:024,86333,301,43114,526,0001,037,0002,269,184
14Sep 3, 2022 21:114,86337,986,37315,561,00002,437,120
15Sep 3, 2022 21:114,86535,046,40313,493,0002,075,0002,531,328
16Sep 3, 2022 21:114,86734,513,97014,536,0001,038,0002,269,184
17Sep 3, 2022 22:024,86838,749,63614,540,0001,038,0002,428,928
18Sep 3, 2022 22:024,86931,376,76115,580,00002,424,832
19Sep 3, 2022 22:024,87134,346,62015,586,00002,531,328
20Sep 3, 2022 22:024,87239,328,08515,589,00002,433,024
21Sep 3, 2022 22:024,87342,659,93114,556,0001,039,0002,269,184
22Sep 3, 2022 21:114,87343,543,23615,594,00002,433,024
23Sep 3, 2022 21:594,88138,921,85613,537,0002,082,0002,437,120
24Sep 3, 2022 21:114,88131,764,37413,537,0002,082,0002,531,328
25Sep 3, 2022 22:024,88241,255,52815,622,00002,531,328
26Sep 3, 2022 21:114,88541,394,56615,632,00002,437,120
27Sep 3, 2022 21:594,88531,890,58215,632,00002,527,232
28Sep 3, 2022 22:024,98371,545,37315,947,02902,203,648
29Sep 3, 2022 22:024,98560,134,08815,950,78402,199,552
30Sep 3, 2022 21:114,98885,143,17415,961,43702,195,456
31Sep 3, 2022 22:025,00584,634,15716,014,68002,199,552
32Sep 3, 2022 21:115,01479,656,18716,044,34302,203,648
33Sep 3, 2022 21:115,01960,513,86116,062,26402,191,360
34Sep 3, 2022 21:595,05089,480,08516,159,39002,199,552
35Sep 3, 2022 21:595,052106,189,51316,164,90402,195,456
36Sep 3, 2022 21:595,09096,184,37316,287,09502,207,744