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 24, 2021 05:15Yuriy LyfenkoYuriy LyfenkoScore: 5,309Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:155,27045,029,55314,880,0001,984,0002,527,232
2May 24, 2021 05:155,27348,278,81314,887,0001,985,0002,265,088
3May 24, 2021 05:155,27341,705,24815,880,000992,0002,265,088
4May 24, 2021 05:155,27535,282,32414,895,0001,986,0002,396,160
5May 24, 2021 05:155,27644,248,73814,897,0001,986,0002,387,968
6May 24, 2021 05:155,30637,959,64614,981,0001,997,0002,265,088
7May 24, 2021 05:155,30940,093,56915,991,000999,0002,510,848
8May 24, 2021 05:155,32934,140,88616,050,0001,003,0002,523,136
9May 24, 2021 05:155,33342,323,88515,057,0002,007,0002,265,088
10May 24, 2021 05:155,49780,264,99117,591,43302,273,280
11May 24, 2021 05:155,53097,603,81217,695,57402,277,376
12May 24, 2021 05:155,55961,011,96017,790,09602,277,376