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:00Dmitry DolgopolovDmitry DolgopolovScore: 5,274Success
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:005,22332,448,69315,671,0001,044,0002,441,216
2May 29, 2021 16:005,23147,452,51015,692,0001,046,0002,273,280
3May 29, 2021 16:005,26942,625,36115,870,000991,0002,449,408
4May 29, 2021 16:005,26940,485,70514,878,0001,983,0002,535,424
5May 29, 2021 16:005,26932,978,94414,879,0001,983,0002,535,424
6May 29, 2021 16:005,27143,608,61113,891,0002,976,0002,535,424
7May 29, 2021 16:005,27432,989,79514,891,0001,985,0002,535,424
8May 29, 2021 16:005,27943,659,87615,900,000993,0002,535,424
9May 29, 2021 16:005,28242,289,24015,909,000994,0002,273,280
10May 29, 2021 16:005,41354,018,50617,320,52302,203,648
11May 29, 2021 16:005,42667,097,80917,362,84602,207,744
12May 29, 2021 16:005,46871,535,63117,496,04202,199,552