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 21, 2024 11:10Matt StuchlikMatt StuchlikScore: 4,858Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:104,80834,806,67713,334,0002,051,0002,289,664
2Jul 21, 2024 11:104,81432,209,42614,379,0001,027,0002,289,664
3Jul 21, 2024 11:104,81734,452,40114,386,0001,027,0002,269,184
4Jul 21, 2024 11:104,82732,290,03114,418,0001,029,0002,289,664
5Jul 21, 2024 11:104,83436,513,43414,438,0001,031,0002,289,664
6Jul 21, 2024 11:104,84736,105,00214,477,0001,034,0002,289,664
7Jul 21, 2024 11:104,85832,846,63814,508,0001,036,0002,277,376
8Jul 21, 2024 11:104,87343,879,93914,554,0001,039,0002,289,664
9Jul 21, 2024 11:104,87835,018,15714,568,0001,040,0002,289,664
10Jul 21, 2024 11:105,08180,651,14416,258,13502,174,976
11Jul 21, 2024 11:105,10757,647,28716,340,95402,301,952
12Jul 21, 2024 11:105,11580,991,89816,367,03402,301,952