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 listAug 4, 2024 21:41zielajzielajScore: 4,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 21:344,64432,172,36313,870,000990,0002,277,376
2Aug 4, 2024 21:344,65132,614,86812,898,0001,984,0002,277,376
3Aug 4, 2024 21:414,65430,895,76712,907,0001,985,0002,289,664
4Aug 4, 2024 21:414,65733,873,51912,916,0001,987,0002,289,664
5Aug 4, 2024 21:414,66138,068,71212,926,0001,988,0002,265,088
6Aug 4, 2024 21:344,66340,975,79713,929,000994,0002,289,664
7Aug 4, 2024 21:414,66530,581,87212,938,0001,990,0002,387,968
8Aug 4, 2024 21:344,66531,708,06312,939,0001,990,0002,392,064
9Aug 4, 2024 21:344,66841,308,98812,947,0001,991,0002,289,664
10Aug 4, 2024 21:344,66941,074,93913,945,000996,0002,273,280
11Aug 4, 2024 21:414,67337,852,29912,959,0001,993,0002,289,664
12Aug 4, 2024 21:344,67432,484,12112,964,0001,994,0002,367,488
13Aug 4, 2024 21:414,67633,783,88313,965,000997,0002,277,376
14Aug 4, 2024 21:414,67736,112,56212,970,0001,995,0002,289,664
15Aug 4, 2024 21:344,67732,208,94812,971,0001,995,0002,269,184
16Aug 4, 2024 21:414,68437,778,45012,991,0001,998,0002,273,280
17Aug 4, 2024 21:414,68435,824,17012,992,0001,998,0002,273,280
18Aug 4, 2024 21:344,71030,906,56413,062,0002,009,0002,269,184
19Aug 4, 2024 21:414,923100,123,32215,752,67002,306,048
20Aug 4, 2024 21:344,93075,420,30515,776,98102,179,072
21Aug 4, 2024 21:414,94179,287,64215,811,73302,174,976
22Aug 4, 2024 21:344,94381,326,43415,817,66902,293,760
23Aug 4, 2024 21:414,94889,131,97415,834,04002,297,856
24Aug 4, 2024 21:344,96069,874,12415,872,64702,293,760