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 8, 2023 12:56Anılcan GülkayaAnılcan GülkayaScore: 5,728Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 12:565,67244,271,28616,134,0002,016,0002,289,664
2Jul 8, 2023 12:565,68039,253,69317,168,0001,009,0002,424,832
3Jul 8, 2023 12:565,70240,633,93916,220,0002,027,0002,289,664
4Jul 8, 2023 12:565,70642,087,34716,230,0002,028,0002,289,664
5Jul 8, 2023 12:565,70748,644,19917,249,0001,014,0002,293,760
6Jul 8, 2023 12:565,70943,926,68416,240,0002,030,0002,269,184
7Jul 8, 2023 12:565,72842,797,91117,312,0001,018,0002,289,664
8Jul 8, 2023 12:565,73343,376,68516,308,0002,038,0002,269,184
9Jul 8, 2023 12:565,74039,443,52017,347,0001,020,0002,289,664
10Jul 8, 2023 12:566,07188,178,13819,426,19902,256,896
11Jul 8, 2023 12:566,111103,491,58619,556,04802,174,976
12Jul 8, 2023 12:566,15389,708,17719,690,59102,306,048