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 27, 2024 18:49HuynhHuynhScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 18:495,51743,239,13017,654,00002,269,184
2Jul 27, 2024 18:495,52942,856,81215,612,0002,081,0002,437,120
3Jul 27, 2024 18:495,58343,292,91816,872,000992,0002,514,944
4Jul 27, 2024 18:495,58447,601,93612,905,0004,963,0002,437,120
5Jul 27, 2024 18:495,58443,348,21615,884,0001,985,0002,428,928
6Jul 27, 2024 18:495,58651,827,11315,888,0001,986,0002,531,328
7Jul 27, 2024 18:495,58649,198,97316,883,000993,0002,527,232
8Jul 27, 2024 18:495,59542,581,63016,850,0001,053,0002,428,928
9Jul 27, 2024 18:495,61636,794,99314,975,0002,995,0002,433,024
10Jul 27, 2024 18:495,80671,900,75918,579,56302,191,360
11Jul 27, 2024 18:495,81151,959,98118,596,77202,187,264
12Jul 27, 2024 18:495,81384,445,19318,602,17402,179,072