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 8, 2021 16:42Yuriy LyfenkoYuriy LyfenkoScore: 5,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:425,64947,405,45115,065,0003,013,0002,334,720
2Jul 8, 2021 16:425,65446,081,53115,079,0003,015,0002,531,328
3Jul 8, 2021 16:425,66841,923,32616,122,0002,015,0002,334,720
4Jul 8, 2021 16:425,67437,663,86715,131,0003,026,0002,531,328
5Jul 8, 2021 16:425,68038,699,89017,106,0001,069,0002,527,232
6Jul 8, 2021 16:425,68140,892,72016,159,0002,019,0002,334,720
7Jul 8, 2021 16:425,68381,579,85718,186,79102,228,224
8Jul 8, 2021 16:425,69947,367,52616,211,0002,026,0002,334,720
9Jul 8, 2021 16:425,70143,707,36816,217,0002,027,0002,334,720
10Jul 8, 2021 16:425,71338,905,96016,251,0002,031,0002,531,328
11Jul 8, 2021 16:425,73074,246,13318,335,92002,215,936
12Jul 8, 2021 16:425,77195,412,90718,467,15002,220,032