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 1, 2023 21:47Jack FrigaardJack FrigaardScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:475,65433,410,90416,082,0002,010,0002,269,184
2Jan 1, 2023 21:475,65535,524,48716,087,0002,010,0002,371,584
3Jan 1, 2023 21:475,66350,209,64817,114,0001,006,0002,281,472
4Jan 1, 2023 21:475,67641,172,35816,146,0002,018,0002,285,568
5Jan 1, 2023 21:475,67834,108,52817,159,0001,009,0002,269,184
6Jan 1, 2023 21:475,69144,352,67716,189,0002,023,0002,535,424
7Jan 1, 2023 21:475,71841,125,73417,283,0001,016,0002,285,568
8Jan 1, 2023 21:475,72839,439,86117,312,0001,018,0002,277,376
9Jan 1, 2023 21:475,73349,048,05417,325,0001,019,0002,285,568
10Jan 1, 2023 21:476,02790,315,54119,286,57002,301,952
11Jan 1, 2023 21:476,11973,186,50819,580,62502,179,072
12Jan 1, 2023 21:476,18782,667,38619,798,59202,293,760