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:58Franek KortaFranek KortaScore: 5,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 00:035,43938,880,85916,382,0001,023,0002,441,216
2Aug 21, 2022 00:035,44335,818,35617,419,00002,441,216
3Aug 21, 2022 00:035,44733,232,50117,431,00002,441,216
4Aug 21, 2022 00:035,45037,830,63917,440,00002,441,216
5Aug 21, 2022 00:035,45435,816,45516,427,0001,026,0002,531,328
6Aug 21, 2022 00:035,45935,878,77617,470,00002,527,232
7Aug 21, 2022 00:035,46836,235,56617,496,00002,445,312
8Aug 20, 2022 23:585,47141,253,01317,507,00002,265,088
9Aug 21, 2022 00:035,47337,439,33217,515,00002,441,216
10Aug 20, 2022 23:585,48335,757,30217,546,00002,441,216
11Aug 20, 2022 23:585,48538,818,59317,553,00002,441,216
12Aug 20, 2022 23:585,48839,044,93717,562,00002,449,408
13Aug 20, 2022 23:585,48944,170,23417,565,00002,531,328
14Aug 21, 2022 00:035,48938,675,99117,565,00002,433,024
15Aug 20, 2022 23:585,49729,832,81716,556,0001,034,0002,441,216
16Aug 20, 2022 23:585,50345,105,67817,611,00002,265,088
17Aug 20, 2022 23:585,50644,800,65917,619,00002,269,184
18Aug 20, 2022 23:585,50949,402,77217,629,00002,441,216
19Aug 21, 2022 00:035,71096,403,57418,272,81802,203,648
20Aug 21, 2022 00:035,73180,815,70018,340,01702,191,360
21Aug 21, 2022 00:035,73873,142,18618,362,97702,203,648
22Aug 20, 2022 23:585,74389,474,36018,376,74602,203,648
23Aug 20, 2022 23:585,75576,372,05518,415,35802,199,552
24Aug 20, 2022 23:585,76679,101,57318,451,82402,195,456