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 28, 2021 14:45Yuriy LyfenkoYuriy LyfenkoScore: 5,152Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:455,12333,409,50515,371,0001,024,0002,392,064
2May 28, 2021 14:455,12542,991,08015,376,0001,025,0002,527,232
3May 28, 2021 14:455,12533,606,65814,351,0002,050,0002,400,256
4May 28, 2021 14:455,13142,520,29115,393,0001,026,0002,387,968
5May 28, 2021 14:455,13339,094,93916,426,00002,392,064
6May 28, 2021 14:455,15243,206,65116,485,00002,265,088
7May 28, 2021 14:455,15241,008,11815,457,0001,030,0002,265,088
8May 28, 2021 14:455,16341,762,16616,520,00002,375,680
9May 28, 2021 14:455,17336,880,95216,554,00002,265,088
10May 28, 2021 14:455,32977,985,59417,054,02602,277,376
11May 28, 2021 14:455,34056,042,17417,089,24302,277,376
12May 28, 2021 14:455,35659,701,88117,138,82802,269,184