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 listApr 4, 2024 22:52Drew GarciaDrew GarciaScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 22:525,53846,081,80316,681,0001,042,0002,281,472
2Apr 4, 2024 22:525,54042,924,65616,687,0001,042,0002,289,664
3Apr 4, 2024 22:525,54347,340,43116,693,0001,043,0002,277,376
4Apr 4, 2024 22:525,58249,514,92216,869,000992,0002,281,472
5Apr 4, 2024 22:525,58443,801,17114,891,0002,978,0002,281,472
6Apr 4, 2024 22:525,58646,773,28814,896,0002,979,0002,281,472
7Apr 4, 2024 22:525,59035,632,39214,908,0002,981,0002,281,472
8Apr 4, 2024 22:525,59244,628,95215,907,0001,988,0002,281,472
9Apr 4, 2024 22:525,59339,239,52816,904,000994,0002,281,472
10Apr 4, 2024 22:525,78283,386,47518,500,89402,179,072
11Apr 4, 2024 22:525,79092,748,35818,527,64602,174,976
12Apr 4, 2024 22:525,79584,144,76218,544,71502,179,072