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 23, 2021 23:03Yuriy LyfenkoYuriy LyfenkoScore: 5,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 23:035,11334,216,90115,338,0001,022,0002,404,352
2May 23, 2021 23:035,12233,973,95915,367,0001,024,0002,392,064
3May 23, 2021 23:035,13152,662,71915,393,0001,026,0002,265,088
4May 23, 2021 23:035,13432,341,01116,428,00002,400,256
5May 23, 2021 23:035,14246,015,31915,426,0001,028,0002,265,088
6May 23, 2021 23:035,14439,725,03416,461,00002,265,088
7May 23, 2021 23:035,15934,589,36416,510,00002,392,064
8May 23, 2021 23:035,17136,034,48915,514,0001,034,0002,387,968
9May 23, 2021 23:035,18938,865,94216,605,00002,506,752
10May 23, 2021 23:035,30587,394,14116,975,31602,269,184
11May 23, 2021 23:035,33985,060,65117,086,00602,285,568
12May 23, 2021 23:035,39091,699,01517,246,95802,277,376