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:23Matt StuchlikMatt StuchlikScore: 5,332Success
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:235,28344,289,76916,904,00002,289,664
2Jul 19, 2024 10:235,29842,435,78214,959,0001,994,0002,289,664
3Jul 19, 2024 10:235,30643,269,00214,981,0001,997,0002,277,376
4Jul 19, 2024 10:235,31739,861,05615,013,0002,001,0002,273,280
5Jul 19, 2024 10:235,32134,411,52615,025,0002,003,0002,277,376
6Jul 19, 2024 10:235,32638,160,07815,038,0002,005,0002,269,184
7Jul 19, 2024 10:235,33254,941,36415,056,0002,007,0002,289,664
8Jul 19, 2024 10:235,34044,043,04316,083,0001,005,0002,289,664
9Jul 19, 2024 10:235,35450,416,64315,119,0002,015,0002,289,664
10Jul 19, 2024 10:235,56684,020,09817,811,26402,285,568
11Jul 19, 2024 10:235,61385,757,32117,960,00202,293,760
12Jul 19, 2024 10:235,61573,462,93617,966,76202,289,664