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 listJul 19, 2024 10:09Matt StuchlikMatt StuchlikScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:095,29342,306,93414,945,0001,992,0002,289,664
2Jul 19, 2024 10:095,29731,782,14114,955,0001,994,0002,269,184
3Jul 19, 2024 10:095,30240,109,12414,970,0001,996,0002,277,376
4Jul 19, 2024 10:095,31138,228,92914,996,0001,999,0002,265,088
5Jul 19, 2024 10:095,31840,028,48315,016,0002,002,0002,289,664
6Jul 19, 2024 10:095,31846,535,13615,017,0002,002,0002,289,664
7Jul 19, 2024 10:095,33840,477,87115,074,0002,009,0002,379,776
8Jul 19, 2024 10:095,34539,506,32915,091,0002,012,0002,277,376
9Jul 19, 2024 10:095,34645,942,09916,100,0001,006,0002,289,664
10Jul 19, 2024 10:095,55495,715,90917,773,43402,256,896
11Jul 19, 2024 10:095,57285,636,88517,830,65302,179,072
12Jul 19, 2024 10:095,57574,823,91217,841,14602,297,856