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 24, 2021 19:23Yuriy LyfenkoYuriy LyfenkoScore: 5,114Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:225,05045,698,80314,140,0002,020,0002,383,872
2May 24, 2021 19:235,05037,555,65815,151,0001,010,0002,383,872
3May 24, 2021 19:235,05540,273,62014,155,0002,022,0002,265,088
4May 24, 2021 19:225,06640,402,63414,184,0002,026,0002,379,776
5May 24, 2021 19:235,06849,451,64114,190,0002,027,0002,265,088
6May 24, 2021 19:225,07540,138,61715,225,0001,015,0002,392,064
7May 24, 2021 19:235,08039,295,03916,255,00002,265,088
8May 24, 2021 19:235,08247,690,80015,246,0001,016,0002,502,656
9May 24, 2021 19:225,08531,835,19115,256,0001,017,0002,379,776
10May 24, 2021 19:235,08534,320,94315,256,0001,017,0002,265,088
11May 24, 2021 19:235,09246,320,91915,275,0001,018,0002,265,088
12May 24, 2021 19:235,09238,150,96215,276,0001,018,0002,383,872
13May 24, 2021 19:225,09234,119,19516,293,00002,265,088
14May 24, 2021 19:225,09238,229,24215,276,0001,018,0002,392,064
15May 24, 2021 19:235,09833,208,07514,274,0002,039,0002,265,088
16May 24, 2021 19:235,09837,185,84316,315,00002,502,656
17May 24, 2021 19:235,10036,722,95114,281,0002,040,0002,392,064
18May 24, 2021 19:235,11133,661,79215,334,0001,022,0002,265,088
19May 24, 2021 19:235,11440,224,80015,342,0001,022,0002,392,064
20May 24, 2021 19:225,11547,733,60315,345,0001,023,0002,265,088
21May 24, 2021 19:235,11933,838,12316,380,00002,265,088
22May 24, 2021 19:235,12140,744,35216,386,00002,265,088
23May 24, 2021 19:235,12336,173,01916,395,00002,527,232
24May 24, 2021 19:225,12630,353,55916,403,00002,265,088
25May 24, 2021 19:235,13336,189,94015,398,0001,026,0002,265,088
26May 24, 2021 19:235,14041,005,27215,421,0001,028,0002,265,088
27May 24, 2021 19:225,14733,833,63015,442,0001,029,0002,465,792
28May 24, 2021 19:235,26744,667,30016,853,88102,269,184
29May 24, 2021 19:225,26975,985,52416,859,33002,273,280
30May 24, 2021 19:225,27071,798,09316,865,33302,277,376
31May 24, 2021 19:235,28381,991,79416,906,03702,273,280
32May 24, 2021 19:235,29749,162,32616,950,50802,269,184
33May 24, 2021 19:235,31946,689,54217,021,48002,273,280
34May 24, 2021 19:235,32244,479,49717,030,75602,277,376
35May 24, 2021 19:235,33178,522,07017,060,20202,277,376
36May 24, 2021 19:225,33444,752,95717,070,36002,273,280