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 listMay 13, 2021 22:55Yuriy LyfenkoYuriy LyfenkoScore: 5,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:555,43245,238,35017,381,00002,260,992
2May 13, 2021 22:555,43238,191,91017,382,00002,387,968
3May 13, 2021 22:555,43641,749,71916,371,0001,023,0002,400,256
4May 13, 2021 22:555,43839,270,13915,353,0002,047,0002,523,136
5May 13, 2021 23:015,44342,522,90016,393,0001,024,0002,523,136
6May 13, 2021 23:015,44550,279,27716,399,0001,024,0002,523,136
7May 13, 2021 22:555,44940,050,97216,412,0001,025,0002,383,872
8May 13, 2021 22:555,45240,979,67016,420,0001,026,0002,265,088
9May 13, 2021 23:015,45338,089,78716,423,0001,026,0002,396,160
10May 13, 2021 23:015,46040,834,16714,388,0003,083,0002,260,992
11May 13, 2021 22:555,46543,075,17015,430,0002,057,0002,392,064
12May 13, 2021 22:555,46537,417,86517,488,00002,523,136
13May 13, 2021 22:555,46638,081,76917,492,00002,523,136
14May 13, 2021 22:555,47139,482,89416,477,0001,029,0002,392,064
15May 13, 2021 22:555,47236,742,89016,481,0001,030,0002,387,968
16May 13, 2021 23:015,47337,760,66916,485,0001,030,0002,260,992
17May 13, 2021 23:015,47336,279,19116,482,0001,030,0002,387,968
18May 13, 2021 23:015,47534,846,84817,520,00002,523,136
19May 13, 2021 23:015,47939,936,98517,533,00002,400,256
20May 13, 2021 22:555,48844,104,93516,529,0001,033,0002,265,088
21May 13, 2021 22:555,52047,416,37916,625,0001,039,0002,260,992
22May 13, 2021 22:555,58353,961,71017,864,00002,519,040
23May 13, 2021 22:555,58443,456,63615,883,0001,985,0002,523,136
24May 13, 2021 23:015,58644,362,90915,889,0001,986,0002,523,136
25May 13, 2021 22:555,58638,793,13514,897,0002,979,0002,260,992
26May 13, 2021 22:555,58645,144,30915,889,0001,986,0002,387,968
27May 13, 2021 23:015,63875,915,47518,040,11002,277,376
28May 13, 2021 22:555,65345,287,29617,086,0001,005,0002,392,064
29May 13, 2021 22:555,66491,909,48318,125,38702,281,472
30May 13, 2021 22:555,68357,723,42018,185,21802,273,280
31May 13, 2021 22:555,68473,368,06118,187,48202,281,472
32May 13, 2021 23:015,68574,852,85518,191,47002,273,280
33May 13, 2021 22:555,69479,915,17918,221,15002,285,568
34May 13, 2021 22:555,70580,135,78918,254,57702,277,376
35May 13, 2021 23:015,70790,241,84918,263,65202,273,280
36May 13, 2021 22:555,71958,570,73618,301,92902,277,376