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 listJun 3, 2021 16:35Yuriy LyfenkoYuriy LyfenkoScore: 5,150Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:355,088543,725,12215,264,0001,017,0002,281,472
2Jun 3, 2021 16:355,088538,598,42316,281,00002,273,280
3Jun 3, 2021 16:355,095538,923,86115,285,0001,019,0002,273,280
4Jun 3, 2021 16:355,099540,263,73615,298,0001,019,0002,273,280
5Jun 3, 2021 16:355,103541,849,74715,311,0001,020,0002,273,280
6Jun 3, 2021 16:355,105543,404,50616,337,00002,281,472
7Jun 3, 2021 16:355,150538,655,74716,480,00002,281,472
8Jun 3, 2021 16:355,159549,386,84816,510,00002,273,280
9Jun 3, 2021 16:355,161543,473,76915,483,0001,032,0002,273,280
10Jun 3, 2021 16:355,233577,302,69716,747,12802,252,800
11Jun 3, 2021 16:355,244588,180,02016,782,02202,252,800
12Jun 3, 2021 16:355,279586,517,69916,891,82402,252,800