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 listMar 15, 2025 04:45xpwxpwScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2025 04:455,69145,632,72716,189,0002,023,0002,289,664
2Mar 15, 2025 04:455,69446,127,72316,197,0002,024,0002,289,664
3Mar 15, 2025 04:455,70741,472,72317,247,0001,014,0002,269,184
4Mar 15, 2025 04:455,71239,443,81216,248,0002,031,0002,289,664
5Mar 15, 2025 04:455,71841,095,68716,266,0002,033,0002,281,472
6Mar 15, 2025 04:455,72841,424,51316,295,0002,036,0002,277,376
7Mar 15, 2025 04:455,74141,990,35917,352,0001,020,0002,289,664
8Mar 15, 2025 04:455,74440,860,38816,338,0002,042,0002,289,664
9Mar 15, 2025 04:455,76048,979,29217,408,0001,024,0002,289,664