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 13, 2024 08:16matsuoka-601matsuoka-601Score: 5,538Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:165,49640,802,41616,554,0001,034,0002,289,664
2Jan 13, 2024 08:165,50242,652,80916,571,0001,035,0002,289,664
3Jan 13, 2024 08:165,51246,043,97016,600,0001,037,0002,523,136
4Jan 13, 2024 08:165,52442,556,96016,637,0001,039,0002,269,184
5Jan 13, 2024 08:165,52743,572,22716,645,0001,040,0002,289,664
6Jan 13, 2024 08:165,52751,286,78717,686,00002,289,664
7Jan 13, 2024 08:165,53847,674,52816,679,0001,042,0002,269,184
8Jan 13, 2024 08:165,57345,561,42015,853,0001,981,0002,531,328
9Jan 13, 2024 08:165,58638,180,25416,883,000993,0002,289,664
10Jan 13, 2024 08:165,66484,920,43718,124,48602,256,896
11Jan 13, 2024 08:165,70063,462,76618,241,35402,301,952
12Jan 13, 2024 08:165,71585,810,61218,286,87602,301,952