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 24, 2022 12:22Robert BurkeRobert BurkeScore: 4,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:224,43533,652,57912,165,0002,027,0002,281,472
2Jul 24, 2022 12:224,44334,103,96612,186,0002,031,0002,441,216
3Jul 24, 2022 12:224,44330,202,81512,188,0002,031,0002,281,472
4Jul 24, 2022 12:224,45031,762,56112,207,0002,034,0002,453,504
5Jul 24, 2022 12:224,45334,064,17912,215,0002,035,0002,281,472
6Jul 24, 2022 12:224,45435,095,77412,216,0002,036,0002,441,216
7Jul 24, 2022 12:224,45438,140,29512,217,0002,036,0002,535,424
8Jul 24, 2022 12:224,47434,253,16213,296,0001,022,0002,449,408
9Jul 24, 2022 12:224,48629,872,85212,304,0002,050,0002,445,312
10Jul 24, 2022 12:224,71261,497,37115,078,11302,207,744
11Jul 24, 2022 12:224,71479,221,89015,086,11902,203,648
12Jul 24, 2022 12:224,71690,020,34715,091,35702,203,648