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 listSep 19, 2022 09:45Kenneth MaplesKenneth MaplesScore: 5,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:455,40138,579,70014,233,0003,050,0002,519,040
2Sep 19, 2022 09:455,40832,471,46215,271,0002,036,0002,519,040
3Sep 19, 2022 09:455,41141,961,03316,298,0001,018,0002,387,968
4Sep 19, 2022 09:455,41236,504,97915,280,0002,037,0002,392,064
5Sep 19, 2022 09:455,42041,805,85516,325,0001,020,0002,383,872
6Sep 19, 2022 09:455,43143,475,16115,334,0002,044,0002,519,040
7Sep 19, 2022 09:455,43340,062,85517,387,00002,523,136
8Sep 19, 2022 09:455,43548,675,02816,368,0001,023,0002,519,040
9Sep 19, 2022 09:455,45544,958,28916,430,0001,026,0002,260,992
10Sep 19, 2022 09:455,68080,079,86818,174,64802,293,760
11Sep 19, 2022 09:455,71683,783,42018,290,75402,285,568
12Sep 19, 2022 09:455,74785,169,77318,389,85702,277,376