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 17, 2024 03:10Joad NacerJoad NacerScore: 5,435Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:105,38841,093,41915,214,0002,028,0002,289,664
2Apr 17, 2024 03:105,40431,133,11415,258,0002,034,0002,527,232
3Apr 17, 2024 03:105,40642,605,88115,264,0002,035,0002,269,184
4Apr 17, 2024 03:105,40632,801,81115,264,0002,035,0002,273,280
5Apr 17, 2024 03:105,41239,634,61115,282,0002,037,0002,289,664
6Apr 17, 2024 03:105,42844,157,69815,327,0002,043,0002,289,664
7Apr 17, 2024 03:105,43543,496,19416,369,0001,023,0002,265,088
8Apr 17, 2024 03:105,43745,711,73116,375,0001,023,0002,289,664
9Apr 17, 2024 03:105,43934,387,70816,382,0001,023,0002,269,184
10Apr 17, 2024 03:105,67887,893,39518,171,13002,301,952
11Apr 17, 2024 03:105,71199,506,91718,276,35002,301,952
12Apr 17, 2024 03:105,72091,619,60518,304,68402,301,952