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 listAug 20, 2022 23:55Franek KortaFranek KortaScore: 5,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:555,36236,843,84616,148,0001,009,0002,527,232
2Aug 20, 2022 23:555,36238,783,43316,150,0001,009,0002,445,312
3Aug 20, 2022 23:555,36641,598,76015,152,0002,020,0002,269,184
4Aug 20, 2022 23:555,36839,433,08516,168,0001,010,0002,449,408
5Aug 20, 2022 23:555,38633,115,76116,222,0001,013,0002,531,328
6Aug 20, 2022 23:555,39336,082,28017,257,00002,531,328
7Aug 20, 2022 23:555,39731,930,90016,255,0001,015,0002,265,088
8Aug 20, 2022 23:555,40734,829,22916,285,0001,017,0002,531,328
9Aug 20, 2022 23:555,42049,642,07116,323,0001,020,0002,441,216
10Aug 20, 2022 23:555,66285,448,55118,117,49202,207,744
11Aug 20, 2022 23:555,68264,600,47618,183,88802,199,552
12Aug 20, 2022 23:555,69281,077,23318,215,51402,191,360