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 17, 2021 17:49Yuriy LyfenkoYuriy LyfenkoScore: 5,382Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 17:495,355590,293,72015,121,0002,016,0002,527,232
2May 17, 2021 17:495,3621,729,277,98714,131,0003,028,0002,383,872
3May 17, 2021 17:495,3631,077,961,77616,151,0001,009,0002,265,088
4May 17, 2021 17:495,365656,971,98216,216,000953,0002,265,088
5May 17, 2021 17:495,3671,752,029,19517,174,00002,265,088
6May 17, 2021 17:495,3812,895,524,71117,219,00002,265,088
7May 17, 2021 17:495,3821,854,721,80916,265,000956,0002,265,088
8May 17, 2021 17:495,391104,460,62716,237,0001,014,0002,269,184
9May 17, 2021 17:495,391225,839,16316,294,000958,0002,269,184
10May 17, 2021 17:495,5542,534,209,05017,772,11402,277,376
11May 17, 2021 17:495,560851,112,13117,790,67402,281,472
12May 17, 2021 17:495,5651,513,021,29417,807,96802,277,376