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 listMay 29, 2021 16:01Dmitry DolgopolovDmitry DolgopolovScore: 5,315Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:015,29139,348,52514,940,0001,992,0002,273,280
2May 29, 2021 16:015,29642,338,59514,954,0001,993,0002,273,280
3May 29, 2021 16:015,30633,995,03614,982,0001,997,0002,437,120
4May 29, 2021 16:015,30939,161,28714,990,0001,998,0002,437,120
5May 29, 2021 16:015,31131,465,40314,997,0001,999,0002,535,424
6May 29, 2021 16:015,31536,198,05115,007,0002,000,0002,535,424
7May 29, 2021 16:015,31538,855,82615,007,0002,000,0002,535,424
8May 29, 2021 16:015,32038,961,85315,022,0002,002,0002,273,280
9May 29, 2021 16:015,33432,154,98815,060,0002,008,0002,445,312
10May 29, 2021 16:015,50085,987,24317,598,85402,199,552
11May 29, 2021 16:015,50381,159,11517,608,93502,187,264
12May 29, 2021 16:015,53485,517,03117,708,23702,203,648