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 listApr 4, 2024 16:33Christopher TarryChristopher TarryScore: 5,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 16:435,58632,890,59016,882,000993,0002,265,088
2Apr 4, 2024 16:435,58747,326,53815,893,0001,986,0002,265,088
3May 2, 2024 15:395,58744,038,73915,892,0001,986,0002,392,064
4May 2, 2024 15:395,59041,420,50115,901,0001,987,0002,265,088
5May 2, 2024 15:395,59243,589,91215,906,0001,988,0002,265,088
6Apr 4, 2024 16:435,59542,332,69815,916,0001,989,0002,265,088
7Apr 4, 2024 16:435,60438,180,27616,938,000996,0002,392,064
8May 2, 2024 15:395,60747,460,13216,946,000996,0002,392,064
9Apr 4, 2024 16:435,61044,276,54415,959,0001,994,0002,387,968
10May 2, 2024 15:395,61448,893,53815,968,0001,996,0002,387,968
11May 2, 2024 15:395,61439,778,98715,969,0001,996,0002,269,184
12Apr 4, 2024 16:435,61545,235,96816,969,000998,0002,265,088
13May 2, 2024 15:395,61546,314,81316,971,000998,0002,265,088
14Apr 4, 2024 16:435,62947,180,51917,014,0001,000,0002,383,872
15May 2, 2024 15:395,63835,745,95817,040,0001,002,0002,265,088
16May 2, 2024 15:395,64335,576,91216,053,0002,006,0002,392,064
17Apr 4, 2024 16:435,64843,549,86616,066,0002,008,0002,527,232
18Apr 4, 2024 16:435,66634,555,42016,116,0002,014,0002,387,968
19May 2, 2024 15:395,743112,249,62618,378,53802,293,760
20Apr 4, 2024 16:435,76487,007,73018,443,56002,232,320
21Apr 4, 2024 16:335,76640,351,89017,427,0001,025,0002,277,376
22Apr 4, 2024 16:335,78747,127,33817,490,0001,028,0002,289,664
23Apr 4, 2024 16:335,79343,216,73718,536,00002,269,184
24Apr 4, 2024 16:335,79341,173,08917,507,0001,029,0002,269,184
25Apr 4, 2024 16:335,80140,277,57617,531,0001,031,0002,273,280
26May 2, 2024 15:395,80692,175,42418,580,71602,277,376
27Apr 4, 2024 16:335,81235,605,49417,566,0001,033,0002,289,664
28Apr 4, 2024 16:335,81544,777,34017,574,0001,033,0002,289,664
29May 2, 2024 15:395,83495,272,29318,668,80902,240,512
30Apr 4, 2024 16:435,84386,224,82818,697,78602,281,472
31Apr 4, 2024 16:335,86342,495,73516,787,0001,974,0002,289,664
32Apr 4, 2024 16:435,86992,656,04218,779,53302,277,376
33Apr 4, 2024 16:335,89445,196,23216,875,0001,985,0002,527,232
34Apr 4, 2024 16:335,98794,270,49019,158,14602,306,048
35Apr 4, 2024 16:336,01189,149,78219,233,79602,174,976
36Apr 4, 2024 16:336,09099,165,75319,489,27202,301,952