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 25, 2024 12:37matsuoka-601matsuoka-601Score: 4,868Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2024 12:374,81331,176,68314,376,0001,026,0002,527,232
2Jan 25, 2024 12:374,83332,848,42514,435,0001,031,0002,281,472
3Jan 25, 2024 12:374,83432,378,93013,406,0002,062,0002,273,280
4Jan 25, 2024 12:374,84437,151,86014,468,0001,033,0002,277,376
5Jan 25, 2024 12:374,85144,211,70814,488,0001,034,0002,285,568
6Jan 25, 2024 12:374,86535,600,40214,530,0001,037,0002,285,568
7Jan 25, 2024 12:374,86830,848,93214,538,0001,038,0002,285,568
8Jan 25, 2024 12:374,87639,924,00114,564,0001,040,0002,285,568
9Jan 25, 2024 12:374,89135,020,62914,608,0001,043,0002,523,136
10Jan 25, 2024 12:375,08392,978,25916,267,05502,301,952
11Jan 25, 2024 12:375,09458,124,73616,301,97502,301,952
12Jan 25, 2024 12:375,10182,615,68816,322,27002,183,168