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 23, 2021 13:12Vladimir KuryakovVladimir KuryakovScore: 5,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:125,63242,615,33216,020,0002,002,0002,519,040
2May 23, 2021 13:125,63349,015,61117,025,0001,001,0002,519,040
3May 23, 2021 13:125,64042,835,41914,038,0004,010,0002,260,992
4May 23, 2021 13:125,64341,616,18916,053,0002,006,0002,502,656
5May 23, 2021 13:125,64443,490,39716,054,0002,006,0002,519,040
6May 23, 2021 13:125,65044,818,95417,077,0001,004,0002,519,040
7May 23, 2021 13:125,65041,425,06916,072,0002,009,0002,387,968
8May 23, 2021 13:125,65247,802,72216,076,0002,009,0002,519,040
9May 23, 2021 13:125,65333,482,62415,074,0003,014,0002,519,040
10May 23, 2021 13:125,65350,657,78816,081,0002,010,0002,523,136
11May 23, 2021 13:125,65446,856,43316,082,0002,010,0002,519,040
12May 23, 2021 13:125,65444,078,82217,087,0001,005,0002,519,040
13May 23, 2021 13:125,65443,697,15217,089,0001,005,0002,519,040
14May 23, 2021 13:125,65543,106,56216,086,0002,010,0002,392,064
15May 23, 2021 13:125,65542,131,32016,087,0002,010,0002,519,040
16May 23, 2021 13:125,66443,541,33316,111,0002,013,0002,392,064
17May 23, 2021 13:125,66532,977,26115,106,0003,021,0002,387,968
18May 23, 2021 13:125,68047,698,33816,156,0002,019,0002,265,088
19May 23, 2021 13:125,93360,120,21918,985,89102,285,568
20May 23, 2021 13:125,94087,518,76519,008,14802,281,472
21May 23, 2021 13:125,96689,818,22519,090,13702,281,472
22May 23, 2021 13:125,967100,002,73319,093,55602,281,472
23May 23, 2021 13:125,98795,135,21019,157,93902,277,376
24May 23, 2021 13:125,99874,285,66419,192,30302,281,472