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:18Yuriy LyfenkoYuriy LyfenkoScore: 5,370Success
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:185,322381,270,86815,027,0002,003,0002,269,184
2May 17, 2021 19:185,3291,013,115,00416,049,0001,003,0002,269,184
3May 17, 2021 19:185,337939,540,54816,073,0001,004,0002,527,232
4May 17, 2021 19:185,337467,464,35114,231,0002,846,0002,269,184
5May 17, 2021 19:185,338214,189,10116,078,0001,004,0002,269,184
6May 17, 2021 19:185,341870,528,36916,085,0001,005,0002,523,136
7May 17, 2021 19:185,370399,688,72915,275,0001,909,0002,260,992
8May 17, 2021 19:185,393489,012,23714,381,0002,876,0002,387,968
9May 17, 2021 19:185,398100,662,38716,316,000959,0002,269,184
10May 17, 2021 19:185,531472,198,62017,699,71302,277,376
11May 17, 2021 19:185,553520,756,44717,771,12102,281,472
12May 17, 2021 19:185,562492,330,07017,798,75402,277,376