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 14:49Anılcan GülkayaAnılcan GülkayaScore: 5,533Success
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 14:495,49643,698,33416,552,0001,034,0002,265,088
2Jul 3, 2023 14:495,49637,562,21516,554,0001,034,0002,387,968
3Jul 3, 2023 14:495,50744,052,58916,585,0001,036,0002,527,232
4Jul 3, 2023 14:495,51048,488,05016,595,0001,037,0002,387,968
5Jul 3, 2023 14:495,52533,185,14416,641,0001,040,0002,265,088
6Jul 3, 2023 14:495,52847,946,05516,649,0001,040,0002,265,088
7Jul 3, 2023 14:495,53348,625,60216,665,0001,041,0002,265,088
8Jul 3, 2023 14:495,53643,609,49516,672,0001,042,0002,265,088
9Jul 3, 2023 14:495,54336,790,40317,738,00002,265,088
10Jul 3, 2023 14:495,93981,244,89219,003,40102,277,376
11Jul 3, 2023 14:495,96378,534,40619,081,69002,277,376
12Jul 3, 2023 14:495,99281,927,40419,174,21702,277,376