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 listJul 3, 2023 15:16Anılcan GülkayaAnılcan GülkayaScore: 5,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 15:165,67341,772,67916,136,0002,017,0002,273,280
2Jul 3, 2023 15:165,69551,702,79217,213,0001,012,0002,273,280
3Jul 3, 2023 15:165,70341,212,51816,223,0002,027,0002,289,664
4Jul 3, 2023 15:165,71440,085,79516,253,0002,031,0002,363,392
5Jul 3, 2023 15:165,71839,866,54216,264,0002,033,0002,289,664
6Jul 3, 2023 15:165,72037,444,25716,270,0002,033,0002,277,376
7Jul 3, 2023 15:165,72041,833,12117,287,0001,016,0002,277,376
8Jul 3, 2023 15:165,73246,020,57416,304,0002,038,0002,289,664
9Jul 3, 2023 15:165,75142,053,47016,358,0002,044,0002,289,664
10Jul 3, 2023 15:166,06964,325,84419,421,90902,179,072
11Jul 3, 2023 15:166,10494,476,52719,533,78702,301,952
12Jul 3, 2023 15:166,13798,068,71619,636,82602,301,952