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 listJan 19, 2024 18:10AnSaAnSaScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 18:105,53547,049,69517,711,00002,392,064
2Jan 19, 2024 18:105,53842,989,94817,722,00002,396,160
3Jan 19, 2024 18:105,54333,513,29116,696,0001,043,0002,506,752
4Jan 19, 2024 18:105,57035,137,92515,845,0001,980,0002,281,472
5Jan 19, 2024 18:105,58139,970,37416,866,000992,0002,387,968
6Jan 19, 2024 18:105,58250,721,36215,878,0001,984,0002,281,472
7Jan 19, 2024 18:105,58336,453,98016,875,000992,0002,281,472
8Jan 19, 2024 18:105,59442,366,55916,908,000994,0002,281,472
9Jan 19, 2024 18:105,59633,422,45116,913,000994,0002,281,472
10Jan 19, 2024 18:105,72293,382,66318,311,58902,269,184
11Jan 19, 2024 18:105,75494,264,38818,411,99102,277,376
12Jan 19, 2024 18:105,78491,453,02318,510,13802,265,088