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 22, 2022 21:44Robert BurkeRobert BurkeScore: 4,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:444,81731,514,58915,415,00002,535,424
2Jul 22, 2022 21:444,82035,271,23115,423,00002,433,024
3Jul 22, 2022 21:444,82235,238,70515,431,00002,273,280
4Jul 22, 2022 21:444,82331,004,30015,432,00002,433,024
5Jul 22, 2022 21:444,82834,652,14015,450,00002,273,280
6Jul 22, 2022 21:444,83029,719,34015,456,00002,428,928
7Jul 22, 2022 21:444,83831,314,52714,451,0001,032,0002,428,928
8Jul 22, 2022 21:444,84930,724,67714,482,0001,034,0002,535,424
9Jul 22, 2022 21:444,85934,018,65814,513,0001,036,0002,535,424
10Jul 22, 2022 21:444,97787,870,26215,925,61302,252,800
11Jul 22, 2022 21:444,98554,028,61615,951,84002,183,168
12Jul 22, 2022 21:445,04689,926,98116,147,43602,179,072