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 listJan 19, 2022 12:52Andrey TsvetkovAndrey TsvetkovScore: 5,600Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:525,57532,229,20115,859,0001,982,0002,502,656
2Jan 19, 2022 12:525,57940,714,47216,862,000991,0002,490,368
3Jan 19, 2022 12:525,58343,749,67215,880,0001,985,0002,342,912
4Jan 19, 2022 12:525,58749,884,84416,886,000993,0002,342,912
5Jan 19, 2022 12:525,58944,523,59317,885,00002,502,656
6Jan 19, 2022 12:525,59342,692,15716,903,000994,0002,342,912
7Jan 19, 2022 12:525,60089,973,62017,921,24502,187,264
8Jan 19, 2022 12:525,60944,698,89916,953,000997,0002,502,656
9Jan 19, 2022 12:525,61244,215,00915,962,0001,995,0002,502,656
10Jan 19, 2022 12:525,61243,534,91515,963,0001,995,0002,502,656
11Jan 19, 2022 12:525,62176,457,16417,986,49002,195,456
12Jan 19, 2022 12:525,81392,947,66818,601,88302,199,552