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 listNov 23, 2024 12:40E SequeiraE SequeiraScore: 5,309Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 12:465,27135,331,79014,884,0001,984,0002,269,184
2Nov 23, 2024 12:405,27844,979,44616,890,00002,289,664
3Nov 23, 2024 12:405,28351,417,95615,848,0001,056,0002,289,664
4Nov 23, 2024 11:035,28538,513,33815,856,0001,057,0002,289,664
5Nov 23, 2024 12:405,28933,692,77315,930,000995,0002,289,664
6Nov 23, 2024 11:035,29546,193,42514,950,0001,993,0002,269,184
7Nov 23, 2024 12:405,30841,864,72714,987,0001,998,0002,514,944
8Nov 23, 2024 12:465,30951,471,28814,991,0001,998,0002,289,664
9Nov 23, 2024 11:035,31146,712,67515,996,000999,0002,293,760
10Nov 23, 2024 12:405,32144,459,53716,025,0001,001,0002,273,280
11Nov 23, 2024 12:405,32143,149,02715,024,0002,003,0002,269,184
12Nov 23, 2024 12:405,32447,601,80815,033,0002,004,0002,269,184
13Nov 23, 2024 12:465,33247,446,28115,054,0002,007,0002,289,664
14Nov 23, 2024 12:405,34347,844,84017,098,00002,289,664
15Nov 23, 2024 12:405,35040,750,62716,113,0001,007,0002,289,664