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 listDec 22, 2021 04:16Yuriy LyfenkoYuriy LyfenkoScore: 5,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:165,629540,113,58016,955,0001,059,0002,334,720
2Dec 22, 2021 04:165,630541,742,45416,958,0001,059,0002,334,720
3Dec 22, 2021 04:165,634539,846,48716,969,0001,060,0002,334,720
4Dec 22, 2021 04:165,637542,559,73118,038,00002,334,720
5Dec 22, 2021 04:165,642540,911,74715,930,0002,124,0002,334,720
6Dec 22, 2021 04:165,657569,735,29518,102,19302,293,760
7Dec 22, 2021 04:165,672547,017,59217,083,0001,067,0002,334,720
8Dec 22, 2021 04:165,675545,938,39218,160,00002,457,600
9Dec 22, 2021 04:165,678541,797,04616,031,0002,137,0002,334,720
10Dec 22, 2021 04:165,680547,211,92518,177,00002,334,720
11Dec 22, 2021 04:165,696572,538,85118,227,36002,252,800
12Dec 22, 2021 04:165,715571,340,88218,289,51202,252,800