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 24, 2021 06:29Yuriy LyfenkoYuriy LyfenkoScore: 5,110Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:295,05832,817,26114,163,0002,023,0002,265,088
2May 24, 2021 06:295,08341,351,19716,267,00002,265,088
3May 24, 2021 06:295,08833,433,39314,248,0002,035,0002,400,256
4May 24, 2021 06:295,09249,721,19415,275,0001,018,0002,265,088
5May 24, 2021 06:295,09346,239,58015,280,0001,018,0002,265,088
6May 24, 2021 06:295,09532,710,00816,303,00002,387,968
7May 24, 2021 06:295,11041,712,40016,353,00002,265,088
8May 24, 2021 06:295,11032,060,37316,353,00002,265,088
9May 24, 2021 06:295,11946,448,76516,381,00002,392,064
10May 24, 2021 06:295,28288,320,81816,902,47802,273,280
11May 24, 2021 06:295,29162,286,66616,929,92002,269,184
12May 24, 2021 06:295,40888,476,70917,304,76302,273,280