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 listJun 17, 2023 22:30Ulyanov AlekseyUlyanov AlekseyScore: 5,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:305,85650,731,47515,617,0003,123,0002,277,376
2Jun 17, 2023 22:305,89137,422,23416,866,0001,984,0002,277,376
3Jun 17, 2023 22:305,89434,897,38916,877,0001,985,0002,277,376
4Jun 17, 2023 22:305,89544,762,96015,887,0002,978,0002,273,280
5Jun 17, 2023 22:305,89646,725,12215,888,0002,979,0002,273,280
6Jun 17, 2023 22:305,89945,923,44115,897,0002,980,0002,277,376
7Jun 17, 2023 22:305,90547,826,08016,907,0001,989,0002,277,376
8Jun 17, 2023 22:305,91653,843,21316,940,0001,992,0002,277,376
9Jun 17, 2023 22:305,92744,627,20516,969,0001,996,0002,387,968
10Jun 17, 2023 22:306,10265,928,57619,526,15702,301,952
11Jun 17, 2023 22:306,11992,471,13519,580,94202,297,856
12Jun 17, 2023 22:306,14891,185,53519,672,01402,293,760