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 listFeb 21, 2023 12:10DarkclainerDarkclainerScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 12:105,44440,432,39716,398,0001,024,0002,531,328
2Feb 21, 2023 12:105,45237,475,58317,446,00002,269,184
3Feb 21, 2023 12:105,46838,337,34217,497,00002,490,368
4Feb 21, 2023 12:105,46839,866,16517,498,00002,531,328
5Feb 21, 2023 12:105,46942,747,76416,471,0001,029,0002,269,184
6Feb 21, 2023 12:105,47242,189,72616,481,0001,030,0002,375,680
7Feb 21, 2023 12:105,48140,049,49216,507,0001,031,0002,379,776
8Feb 21, 2023 12:105,48138,482,71717,538,00002,269,184
9Feb 21, 2023 12:105,50036,124,42216,564,0001,035,0002,269,184
10Feb 21, 2023 12:105,67695,825,87018,163,51502,260,992
11Feb 21, 2023 12:105,67978,543,65118,173,80402,248,704
12Feb 21, 2023 12:105,71485,929,43318,286,11102,248,704