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 25, 2021 14:54Yuriy LyfenkoYuriy LyfenkoScore: 5,133Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 14:545,05944,970,18914,167,0002,023,0002,387,968
2May 25, 2021 14:545,06047,037,85014,169,0002,024,0002,392,064
3May 25, 2021 14:545,06446,829,12714,179,0002,025,0002,265,088
4May 25, 2021 14:545,10342,425,56115,311,0001,020,0002,392,064
5May 25, 2021 14:545,10738,857,55015,320,0001,021,0002,265,088
6May 25, 2021 14:545,11836,349,00216,376,00002,527,232
7May 25, 2021 14:545,13350,832,50316,424,00002,265,088
8May 25, 2021 14:545,15942,650,35616,508,00002,400,256
9May 25, 2021 14:545,16345,153,31515,488,0001,032,0002,396,160
10May 25, 2021 14:545,26583,030,99616,849,41602,281,472
11May 25, 2021 14:545,28169,410,42916,898,53902,277,376
12May 25, 2021 14:545,31346,391,28717,001,33102,277,376