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 19, 2024 09:51Matt StuchlikMatt StuchlikScore: 5,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 09:515,47138,216,26216,478,0001,029,0002,289,664
2Jul 19, 2024 09:515,47739,274,98816,496,0001,031,0002,277,376
3Jul 19, 2024 09:515,48044,415,37816,504,0001,031,0002,289,664
4Jul 19, 2024 09:515,48342,428,86416,513,0001,032,0002,289,664
5Jul 19, 2024 09:515,49036,018,08916,535,0001,033,0002,289,664
6Jul 19, 2024 09:515,50342,885,39316,575,0001,035,0002,289,664
7Jul 19, 2024 09:515,50944,409,71716,592,0001,037,0002,289,664
8Jul 19, 2024 09:515,52149,209,99616,628,0001,039,0002,269,184
9Jul 19, 2024 09:515,52346,847,68516,634,0001,039,0002,289,664
10Jul 19, 2024 09:515,72077,873,02018,302,62302,310,144
11Jul 19, 2024 09:515,76695,726,95918,451,56902,297,856
12Jul 19, 2024 09:515,78781,311,49518,519,15002,297,856