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 listJan 15, 2025 01:02Ian MckibbenIan MckibbenScore: 5,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 01:015,44439,821,71517,420,00002,293,760
2Jan 15, 2025 01:025,45040,246,42716,414,0001,025,0002,285,568
3Jan 15, 2025 01:025,45446,237,42216,428,0001,026,0002,293,760
4Jan 15, 2025 01:015,45438,478,38817,454,00002,269,184
5Jan 15, 2025 01:015,45541,097,39717,455,00002,293,760
6Jan 15, 2025 01:015,46538,995,88116,460,0001,028,0002,293,760
7Jan 15, 2025 01:015,46839,059,96516,470,0001,029,0002,289,664
8Jan 15, 2025 01:015,47143,541,92216,477,0001,029,0002,293,760
9Jan 15, 2025 01:015,47238,272,86716,481,0001,030,0002,293,760
10Jan 15, 2025 01:025,47240,392,51517,509,00002,273,280
11Jan 15, 2025 01:015,47844,901,24316,499,0001,031,0002,277,376
12Jan 15, 2025 01:025,48038,855,22616,505,0001,031,0002,293,760
13Jan 15, 2025 01:015,48240,667,54016,511,0001,031,0002,277,376
14Jan 15, 2025 01:025,48541,195,06816,519,0001,032,0002,281,472
15Jan 15, 2025 01:015,49040,997,60217,567,00002,293,760
16Jan 15, 2025 01:015,49953,837,43117,598,00002,293,760
17Jan 15, 2025 01:015,50038,600,30916,564,0001,035,0002,293,760
18Jan 15, 2025 01:025,51245,574,31017,637,00002,293,760
19Jan 15, 2025 01:026,33541,810,48918,246,0002,027,0002,285,568
20Jan 15, 2025 01:026,38241,554,46619,401,0001,021,0002,285,568
21Jan 15, 2025 01:026,40844,144,06619,481,0001,025,0002,293,760