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 16, 2021 13:06Yuriy LyfenkoYuriy LyfenkoScore: 5,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:075,43243,800,15416,360,0001,022,0002,392,064
2May 16, 2021 13:075,44338,277,42815,369,0002,049,0002,383,872
3May 16, 2021 13:095,44337,143,43016,395,0001,024,0002,387,968
4May 16, 2021 13:065,44443,935,87916,397,0001,024,0002,396,160
5May 16, 2021 13:095,44646,348,58413,327,0004,100,0002,383,872
6May 16, 2021 13:065,44834,727,65317,432,00002,260,992
7May 16, 2021 13:065,44949,527,18414,360,0003,077,0002,396,160
8May 16, 2021 13:075,44943,204,56716,411,0001,025,0002,510,848
9May 16, 2021 13:095,44937,710,15415,387,0002,051,0002,260,992
10May 16, 2021 13:065,45342,967,49116,423,0001,026,0002,396,160
11May 16, 2021 13:075,45439,891,93417,454,00002,510,848
12May 16, 2021 13:095,45744,775,93216,436,0001,027,0002,519,040
13May 16, 2021 13:075,45837,728,54716,438,0001,027,0002,519,040
14May 16, 2021 13:095,45938,457,96217,468,00002,392,064
15May 16, 2021 13:095,46032,590,06616,444,0001,027,0002,387,968
16May 16, 2021 13:095,46532,109,59016,460,0001,028,0002,387,968
17May 16, 2021 13:065,46840,099,01616,467,0001,029,0002,392,064
18May 16, 2021 13:095,47338,618,88116,484,0001,030,0002,519,040
19May 16, 2021 13:095,47745,017,11316,496,0001,031,0002,519,040
20May 16, 2021 13:075,48441,742,56116,518,0001,032,0002,519,040
21May 16, 2021 13:065,48446,777,26917,549,00002,392,064
22May 16, 2021 13:075,48539,324,02017,553,00002,519,040
23May 16, 2021 13:065,57735,214,06916,854,000991,0002,392,064
24May 16, 2021 13:075,58343,023,86516,872,000992,0002,519,040
25May 16, 2021 13:065,58436,878,31115,885,0001,985,0002,387,968
26May 16, 2021 13:065,58644,138,64815,889,0001,986,0002,383,872
27May 16, 2021 13:075,60934,995,93415,956,0001,994,0002,387,968
28May 16, 2021 13:065,66889,945,96718,138,48502,285,568
29May 16, 2021 13:065,68884,645,40918,202,11602,273,280
30May 16, 2021 13:075,68982,053,04318,205,96402,281,472
31May 16, 2021 13:065,69678,199,65318,226,34002,285,568
32May 16, 2021 13:075,70061,917,89118,240,53202,277,376
33May 16, 2021 13:075,70582,646,35718,254,66302,277,376
34May 16, 2021 13:095,71875,540,56718,296,56202,285,568
35May 16, 2021 13:095,74861,157,86518,394,05202,281,472
36May 16, 2021 13:095,76995,396,06618,459,52002,285,568