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 listSep 19, 2022 09:39Kenneth MaplesKenneth MaplesScore: 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
1Sep 19, 2022 09:395,55043,497,57817,760,00002,273,280
2Sep 19, 2022 09:395,57835,331,24215,866,0001,983,0002,277,376
3Sep 19, 2022 09:395,58147,943,93316,867,000992,0002,273,280
4Sep 19, 2022 09:395,58335,762,21716,872,000992,0002,281,472
5Sep 19, 2022 09:395,58343,929,82115,881,0001,985,0002,281,472
6Sep 19, 2022 09:395,58544,226,67814,894,0002,978,0002,277,376
7Sep 19, 2022 09:395,58634,717,78115,888,0001,986,0002,269,184
8Sep 19, 2022 09:395,58643,100,67914,897,0002,979,0002,277,376
9Sep 19, 2022 09:395,58945,257,26714,904,0002,980,0002,277,376
10Sep 19, 2022 09:395,84080,658,94018,688,33502,306,048
11Sep 19, 2022 09:395,84487,699,06018,700,30702,183,168
12Sep 19, 2022 09:395,86588,652,99618,767,94502,187,264