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 listMay 14, 2021 21:52Yuriy LyfenkoYuriy LyfenkoScore: 5,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:525,64538,119,14016,058,0002,007,0002,519,040
2May 14, 2021 21:525,65043,889,12616,072,0002,009,0002,519,040
3May 14, 2021 21:525,66046,114,29916,101,0002,012,0002,519,040
4May 14, 2021 21:525,66238,781,90716,106,0002,013,0002,383,872
5May 14, 2021 21:525,66846,340,47816,123,0002,015,0002,519,040
6May 14, 2021 21:525,68144,785,84516,159,0002,019,0002,519,040
7May 14, 2021 21:525,68852,215,48417,190,0001,011,0002,519,040
8May 14, 2021 21:525,68936,083,16515,171,0003,034,0002,519,040
9May 14, 2021 21:525,69042,702,98016,185,0002,023,0002,379,776
10May 14, 2021 21:525,90685,152,93518,900,23902,281,472
11May 14, 2021 21:525,96496,143,83619,084,76602,269,184
12May 14, 2021 21:525,99377,439,25819,177,21502,281,472