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 22:16Hal FHal FScore: 5,835Success
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 22:165,42534,750,26615,317,0002,042,0002,289,664
2Jan 1, 2023 22:165,42838,625,03216,348,0001,021,0002,289,664
3Jan 1, 2023 22:165,43144,894,59415,335,0002,044,0002,519,040
4Jan 1, 2023 22:165,46144,314,19716,447,0001,027,0002,289,664
5Jan 1, 2023 22:165,48550,619,09016,521,0001,032,0002,289,664
6Jan 1, 2023 22:165,71345,095,01016,251,0002,031,0002,289,664
7Jan 1, 2023 22:165,83588,297,07318,671,88802,179,072
8Jan 1, 2023 22:165,85188,364,13218,721,86902,301,952
9Jan 1, 2023 22:165,88146,000,29917,828,000990,0002,265,088
10Jan 1, 2023 22:166,11248,485,97118,529,0001,029,0002,273,280
11Jan 1, 2023 22:166,24743,935,62017,991,0001,999,0002,359,296
12Jan 1, 2023 22:166,54360,007,55220,938,13702,297,856