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 23, 2022 00:02Robert BurkeRobert BurkeScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 00:024,57734,954,93413,601,0001,046,0002,457,600
2Jul 23, 2022 00:024,58428,123,66613,623,0001,047,0002,445,312
3Jul 23, 2022 00:024,59129,095,41613,641,0001,049,0002,281,472
4Jul 23, 2022 00:024,59139,971,70113,641,0001,049,0002,281,472
5Jul 23, 2022 00:024,59140,818,05113,643,0001,049,0002,281,472
6Jul 23, 2022 00:024,59533,154,40413,654,0001,050,0002,449,408
7Jul 23, 2022 00:024,64828,433,97212,889,0001,983,0002,277,376
8Jul 23, 2022 00:024,65032,525,39012,897,0001,984,0002,453,504
9Jul 23, 2022 00:024,65230,677,92213,895,000992,0002,277,376
10Jul 23, 2022 00:024,82085,194,33015,423,71202,203,648
11Jul 23, 2022 00:024,86385,361,29215,561,80702,207,744
12Jul 23, 2022 00:024,86465,860,81515,564,62102,203,648