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 listJun 3, 2021 04:59Yuriy LyfenkoYuriy LyfenkoScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 04:595,034538,786,90314,097,0002,013,0002,273,280
2Jun 3, 2021 04:595,039537,214,63114,110,0002,015,0002,281,472
3Jun 3, 2021 04:595,046542,055,23114,128,0002,018,0002,273,280
4Jun 3, 2021 04:595,047538,615,60514,131,0002,018,0002,273,280
5Jun 3, 2021 04:595,051538,272,72914,143,0002,020,0002,273,280
6Jun 3, 2021 04:595,061539,289,33215,184,0001,012,0002,281,472
7Jun 3, 2021 04:595,085538,083,25316,273,00002,408,448
8Jun 3, 2021 04:595,091544,974,65616,291,00002,281,472
9Jun 3, 2021 04:595,124544,231,81115,372,0001,024,0002,281,472
10Jun 3, 2021 04:595,200570,934,66516,638,92102,256,896
11Jun 3, 2021 04:595,229572,677,45316,733,21602,285,568
12Jun 3, 2021 04:595,244580,401,65416,781,15002,289,664