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 listNov 20, 2024 23:14Mikhail ShirokovMikhail ShirokovScore: 4,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 23:144,36729,876,72012,977,000998,0002,277,376
2Nov 20, 2024 23:144,36929,284,90612,983,000998,0002,277,376
3Nov 20, 2024 23:144,37335,746,11412,993,000999,0002,498,560
4Nov 20, 2024 23:144,37328,310,45812,995,000999,0002,277,376
5Nov 20, 2024 23:144,37835,500,98613,008,0001,000,0002,277,376
6Nov 20, 2024 23:144,38441,440,63013,028,0001,002,0002,498,560
7Nov 20, 2024 23:144,38532,773,88713,031,0001,002,0002,277,376
8Nov 20, 2024 23:144,38631,571,45113,032,0001,002,0002,494,464
9Nov 20, 2024 23:144,38934,654,14113,043,0001,003,0002,498,560