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 28, 2025 20:40Bohdan StorozhukBohdan StorozhukScore: 5,929Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 19:425,90048,238,27817,888,000993,0002,330,624
2Jan 28, 2025 20:405,90141,299,73017,891,000993,0002,359,296
3Jan 28, 2025 19:425,90548,767,48517,902,000994,0002,490,368
4Jan 28, 2025 20:405,92939,710,32417,976,000998,0002,330,624
5Jan 28, 2025 19:425,94145,427,76517,010,0002,001,0002,330,624
6Jan 28, 2025 20:405,95037,598,86018,039,0001,002,0002,330,624