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 15, 2022 07:01Robert BurkeRobert BurkeScore: 5,377Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 07:015,36138,142,97116,146,0001,009,0002,281,472
2Jul 15, 2022 07:015,36433,054,94716,156,0001,009,0002,281,472
3Jul 15, 2022 07:015,37047,974,41315,162,0002,021,0002,281,472
4Jul 15, 2022 07:015,37242,543,68515,169,0002,022,0002,416,640
5Jul 15, 2022 07:015,37536,029,30216,189,0001,011,0002,523,136
6Jul 15, 2022 07:015,37736,430,46416,193,0001,012,0002,281,472
7Jul 15, 2022 07:015,37743,265,75215,183,0002,024,0002,281,472
8Jul 15, 2022 07:015,39944,364,64715,246,0002,032,0002,433,024
9Jul 15, 2022 07:015,40142,474,89415,250,0002,033,0002,433,024
10Jul 15, 2022 07:015,52979,605,19917,692,15602,187,264
11Jul 15, 2022 07:015,53193,789,57117,700,75702,179,072
12Jul 15, 2022 07:015,58162,349,23217,859,90002,183,168