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 15:34Yuriy LyfenkoYuriy LyfenkoScore: 4,540Success
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 15:344,51836,804,25913,427,0001,032,0002,265,088
2Jul 8, 2021 15:344,52637,131,93313,448,0001,034,0002,400,256
3Jul 8, 2021 15:344,52631,766,21714,484,00002,265,088
4Jul 8, 2021 15:344,52837,418,76414,489,00002,392,064
5Jul 8, 2021 15:344,53132,891,70313,464,0001,035,0002,265,088
6Jul 8, 2021 15:344,53828,150,60914,522,00002,506,752
7Jul 8, 2021 15:344,54029,523,00214,527,00002,265,088
8Jul 8, 2021 15:344,54734,033,77113,511,0001,039,0002,486,272
9Jul 8, 2021 15:344,56433,034,84114,604,00002,387,968
10Jul 8, 2021 15:344,71575,532,28015,088,08702,273,280
11Jul 8, 2021 15:344,72371,100,22915,112,04602,277,376
12Jul 8, 2021 15:344,74772,565,86315,189,42102,269,184