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 listAug 30, 2024 17:15Jatin YadavJatin YadavScore: 5,804Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2024 17:155,72640,336,58616,287,0002,035,0002,289,664
2Aug 30, 2024 17:155,73838,782,57216,321,0002,040,0002,289,664
3Aug 30, 2024 17:155,77240,958,41917,443,0001,026,0002,273,280
4Aug 30, 2024 17:155,77246,087,78416,417,0002,052,0002,289,664
5Aug 30, 2024 17:155,77344,277,96817,448,0001,026,0002,273,280
6Aug 30, 2024 17:155,79749,065,68317,521,0001,030,0002,277,376
7Aug 30, 2024 17:155,80442,803,14217,541,0001,031,0002,289,664
8Aug 30, 2024 17:155,80639,184,39717,547,0001,032,0002,289,664
9Aug 30, 2024 17:155,81347,682,94917,568,0001,033,0002,355,200
10Aug 30, 2024 17:156,03884,542,15219,323,05302,301,952
11Aug 30, 2024 17:156,11182,352,18419,555,93102,306,048
12Aug 30, 2024 17:156,12296,034,25619,591,65502,301,952