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 30, 2024 03:19BenBenScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:194,63831,743,11612,863,0001,979,0002,396,160
2Jul 30, 2024 03:194,64040,369,47912,868,0001,979,0002,392,064
3Jul 30, 2024 03:194,64830,788,33112,890,0001,983,0002,387,968
4Jul 30, 2024 03:194,65141,437,97913,892,000992,0002,392,064
5Jul 30, 2024 03:194,65134,061,90012,900,0001,984,0002,387,968
6Jul 30, 2024 03:194,65231,855,59413,895,000992,0002,383,872
7Jul 30, 2024 03:194,65339,211,07713,826,0001,063,0002,265,088
8Jul 30, 2024 03:194,65630,834,72213,907,000993,0002,383,872
9Jul 30, 2024 03:194,65840,441,29712,919,0001,987,0002,387,968
10Jul 30, 2024 03:194,86785,031,08215,573,64502,281,472
11Jul 30, 2024 03:194,87293,518,69015,590,88002,285,568
12Jul 30, 2024 03:194,88574,267,23715,633,45402,248,704