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 3, 2024 19:52zielajzielajScore: 4,698Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:524,66538,306,69713,933,000995,0002,273,280
2Aug 3, 2024 19:524,66536,469,70213,932,000995,0002,289,664
3Aug 3, 2024 19:524,66939,253,71412,948,0001,992,0002,273,280
4Aug 4, 2024 21:304,66943,271,22812,948,0001,992,0002,277,376
5Aug 4, 2024 21:304,67331,784,86312,960,0001,993,0002,273,280
6Aug 4, 2024 21:304,67431,098,81713,959,000997,0002,277,376
7Aug 4, 2024 21:304,67638,055,42113,967,000997,0002,285,568
8Aug 4, 2024 21:304,68733,106,43212,998,0001,999,0002,289,664
9Aug 4, 2024 21:304,68728,606,03113,999,000999,0002,289,664
10Aug 4, 2024 21:304,69130,352,19613,010,0002,001,0002,269,184
11Aug 3, 2024 19:524,69432,807,98314,021,0001,001,0002,277,376
12Aug 4, 2024 21:304,69646,952,34013,025,0002,003,0002,289,664
13Aug 3, 2024 19:524,69837,380,97113,029,0002,004,0002,269,184
14Aug 3, 2024 19:524,69939,678,49713,032,0002,004,0002,289,664
15Aug 4, 2024 21:304,70039,013,79314,038,0001,002,0002,289,664
16Aug 3, 2024 19:524,72949,330,38913,115,0002,017,0002,277,376
17Aug 4, 2024 21:304,93581,764,05415,793,16402,179,072
18Aug 4, 2024 21:304,95093,847,40115,839,59202,256,896
19Aug 3, 2024 19:524,95567,994,76515,855,65602,297,856
20Aug 4, 2024 21:304,97676,991,17715,922,69202,301,952
21Aug 3, 2024 19:524,98350,075,31313,951,0001,993,0002,277,376
22Aug 3, 2024 19:524,989101,197,94215,963,99102,301,952
23Aug 3, 2024 19:525,04936,069,60814,139,0002,019,0002,375,680
24Aug 3, 2024 19:525,06578,516,23416,207,65902,306,048