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 20, 2024 14:54Joad NacerJoad NacerScore: 4,956Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2024 14:544,85839,651,34214,510,0001,036,0002,277,376
2Apr 20, 2024 14:544,88832,772,47414,599,0001,042,0002,289,664
3Apr 20, 2024 14:544,89546,011,26114,619,0001,044,0002,289,664
4Apr 20, 2024 14:544,89831,484,74714,629,0001,044,0002,277,376
5Apr 20, 2024 14:544,94342,074,51713,839,0001,977,0002,289,664
6Apr 20, 2024 14:544,94641,443,13113,850,0001,978,0002,371,584
7Apr 20, 2024 14:544,95634,098,50313,878,0001,982,0002,269,184
8Apr 20, 2024 14:544,96044,639,94013,889,0001,984,0002,289,664
9Apr 20, 2024 14:544,96146,284,47314,884,000992,0002,269,184
10Apr 20, 2024 14:545,09180,703,07816,292,31202,174,976
11Apr 20, 2024 14:545,14067,533,18616,447,48502,252,800
12Apr 20, 2024 14:545,17684,251,73916,563,20802,301,952