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 19:58Yuriy LyfenkoYuriy LyfenkoScore: 5,358Success
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 19:585,329101,063,85015,048,0002,006,0002,269,184
2May 17, 2021 19:585,3331,203,540,72016,117,000948,0002,527,232
3May 17, 2021 19:585,3482,059,649,14216,162,000950,0002,265,088
4May 17, 2021 19:585,3502,132,073,81813,316,0003,804,0002,523,136
5May 17, 2021 19:585,3532,488,940,46817,130,00002,396,160
6May 17, 2021 19:585,3551,399,302,58014,113,0003,024,0002,265,088
7May 17, 2021 19:585,358558,203,84217,144,00002,523,136
8May 17, 2021 19:585,364842,899,01615,147,0002,019,0002,265,088
9May 17, 2021 19:585,373191,710,05716,239,000955,0002,269,184
10May 17, 2021 19:585,5342,946,071,91317,710,38002,281,472
11May 17, 2021 19:585,549628,811,08017,757,45402,277,376
12May 17, 2021 19:585,5512,213,031,13717,764,47602,281,472