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 21, 2024 16:17matsuoka-601matsuoka-601Score: 4,846Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:174,82231,499,49214,402,0001,028,0002,277,376
2Jan 21, 2024 16:174,82841,471,80314,419,0001,029,0002,531,328
3Jan 21, 2024 16:174,83636,441,37414,445,0001,031,0002,371,584
4Jan 21, 2024 16:174,83639,790,14614,445,0001,031,0002,531,328
5Jan 21, 2024 16:174,83837,555,22114,449,0001,032,0002,383,872
6Jan 21, 2024 16:174,83832,506,17314,451,0001,032,0002,285,568
7Jan 21, 2024 16:174,84633,922,94214,475,0001,033,0002,285,568
8Jan 21, 2024 16:174,85047,746,93114,485,0001,034,0002,285,568
9Jan 21, 2024 16:174,86337,131,79715,563,00002,285,568
10Jan 21, 2024 16:175,07056,746,07416,225,06702,301,952
11Jan 21, 2024 16:175,08487,713,20416,267,26902,306,048
12Jan 21, 2024 16:175,09157,934,11716,292,03202,297,856