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,674Success
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,617540,011,37016,917,0001,057,0002,334,720
2Dec 22, 2021 04:165,618544,255,57416,978,000998,0002,338,816
3Dec 22, 2021 04:165,638543,790,25616,980,0001,061,0002,334,720
4Dec 22, 2021 04:165,645548,185,37417,002,0001,062,0002,334,720
5Dec 22, 2021 04:165,655546,367,98118,097,00002,338,816
6Dec 22, 2021 04:165,667549,050,97817,068,0001,066,0002,334,720
7Dec 22, 2021 04:165,674542,688,52216,022,0002,136,0002,334,720
8Dec 22, 2021 04:165,680570,174,52618,177,39002,256,896
9Dec 22, 2021 04:165,702576,106,43618,246,10802,252,800
10Dec 22, 2021 04:165,734543,989,34017,331,0001,019,0002,322,432
11Dec 22, 2021 04:165,754579,495,90018,413,48902,174,976
12Dec 22, 2021 04:165,758541,894,07315,518,0002,909,0002,334,720