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 21, 2021 11:23Andrey TsvetkovAndrey TsvetkovScore: 5,730Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2021 11:235,69246,115,87015,179,0003,035,0002,527,232
2Jun 21, 2021 11:235,70638,084,78716,230,0002,028,0002,527,232
3Jun 21, 2021 11:235,70843,069,24715,222,0003,044,0002,334,720
4Jun 21, 2021 11:235,70941,997,90517,255,0001,015,0002,310,144
5Jun 21, 2021 11:235,72076,178,97018,305,11602,224,128
6Jun 21, 2021 11:235,72340,638,48616,280,0002,035,0002,527,232
7Jun 21, 2021 11:235,73039,805,39215,281,0003,056,0002,334,720
8Jun 21, 2021 11:235,73442,966,95616,310,0002,038,0002,334,720
9Jun 21, 2021 11:235,75840,361,10015,354,0003,070,0002,351,104
10Jun 21, 2021 11:235,76346,949,36516,392,0002,049,0002,314,240
11Jun 21, 2021 11:235,76476,509,62718,444,80102,224,128
12Jun 21, 2021 11:235,85887,554,13118,746,30102,244,608