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 17, 2021 04:51Yuriy LyfenkoYuriy LyfenkoScore: 5,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 04:515,3674,065,292,82216,163,0001,010,0002,523,136
2May 17, 2021 04:515,3712,271,677,82416,177,0001,011,0002,265,088
3May 17, 2021 04:515,3812,499,302,78116,264,000956,0002,527,232
4May 17, 2021 04:515,3944,025,330,39016,247,0001,015,0002,265,088
5May 17, 2021 04:515,395435,219,00415,345,0001,918,0002,269,184
6May 17, 2021 04:515,3991,439,684,57615,358,0001,919,0002,269,184
7May 17, 2021 04:515,4074,697,013,40515,380,0001,922,0002,527,232
8May 17, 2021 04:515,4181,395,209,96415,413,0001,926,0002,265,088
9May 17, 2021 04:515,4704,817,291,79916,476,0001,029,0002,265,088
10May 17, 2021 04:515,5994,681,507,19917,917,91302,273,280
11May 17, 2021 04:515,6004,897,038,98117,921,16402,277,376
12May 17, 2021 04:515,608725,101,94717,947,09602,277,376