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 12, 2024 17:01Viktor SuprunViktor SuprunScore: 5,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 17:015,88838,847,14616,859,0001,983,0002,363,392
2Nov 12, 2024 17:015,89343,820,71617,864,000992,0002,531,328
3Nov 12, 2024 17:015,89841,566,35517,880,000993,0002,424,832
4Nov 12, 2024 17:015,91248,047,07716,928,0001,991,0002,363,392
5Nov 12, 2024 17:015,91344,562,41615,935,0002,987,0002,355,200
6Nov 12, 2024 17:015,92548,486,71615,967,0002,993,0002,416,640
7Nov 12, 2024 17:015,94844,827,29516,028,0003,005,0002,523,136
8Nov 12, 2024 17:015,97143,927,41516,090,0003,016,0002,342,912
9Nov 12, 2024 17:016,35947,151,63917,297,0003,052,0002,424,832