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 16, 2022 04:52Yuriy LyfenkoYuriy LyfenkoScore: 4,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 04:524,43032,208,54312,150,0002,025,0002,387,968
2Jul 16, 2022 04:524,45832,409,49312,229,0002,038,0002,265,088
3Jul 16, 2022 04:524,46032,302,87413,252,0001,019,0002,527,232
4Jul 16, 2022 04:524,46631,268,02014,292,00002,387,968
5Jul 16, 2022 04:524,47031,224,19913,284,0001,021,0002,527,232
6Jul 16, 2022 04:524,47832,549,71414,328,00002,400,256
7Jul 16, 2022 04:524,48731,891,46313,333,0001,025,0002,527,232
8Jul 16, 2022 04:524,49237,300,02414,375,00002,392,064
9Jul 16, 2022 04:524,49434,016,16914,381,00002,387,968
10Jul 16, 2022 04:524,63684,850,21014,833,70202,277,376
11Jul 16, 2022 04:524,67088,377,69514,943,66902,277,376
12Jul 16, 2022 04:524,71297,214,35415,077,70202,281,472