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 11, 2024 01:48Yuriy LyfenkoYuriy LyfenkoScore: 4,445Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:484,418535,572,54212,117,0002,019,0002,535,424
2Aug 11, 2024 01:484,420536,012,22312,124,0002,020,0002,535,424
3Aug 11, 2024 01:484,421535,892,62912,127,0002,021,0002,535,424
4Aug 11, 2024 01:484,423533,400,20612,132,0002,022,0002,535,424
5Aug 11, 2024 01:484,428537,669,68013,158,0001,012,0002,273,280
6Aug 11, 2024 01:484,444536,888,39712,191,0002,031,0002,535,424
7Aug 11, 2024 01:484,445537,947,06613,209,0001,016,0002,535,424
8Aug 11, 2024 01:484,446541,497,98813,210,0001,016,0002,535,424
9Aug 11, 2024 01:484,506540,201,19513,390,0001,030,0002,285,568
10Aug 11, 2024 01:484,615568,678,12014,767,66002,199,552
11Aug 11, 2024 01:484,633585,706,55914,825,94802,199,552
12Aug 11, 2024 01:484,651580,595,45814,882,76202,351,104