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 listJun 5, 2025 08:08thatmagicalcatthatmagicalcatScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2025 08:055,52847,656,01016,651,0001,040,0002,355,200
2Jun 5, 2025 08:055,53149,041,35516,657,0001,041,0002,363,392
3Jun 5, 2025 08:055,57343,722,80816,844,000990,0002,486,272
4Jun 5, 2025 08:085,57744,791,69215,863,0001,982,0002,285,568
5Jun 5, 2025 08:055,58334,587,65716,873,000992,0002,285,568
6Jun 5, 2025 08:055,58545,993,50416,879,000992,0002,351,104
7Jun 5, 2025 08:055,59042,193,64615,900,0001,987,0002,285,568
8Jun 5, 2025 08:055,59634,942,09016,914,000994,0002,367,488
9Jun 5, 2025 08:085,60142,242,41917,924,00002,285,568
10Jun 5, 2025 08:055,60738,503,31616,946,000996,0002,285,568
11Jun 5, 2025 08:055,62144,489,70515,990,0001,998,0002,285,568
12Jun 5, 2025 08:085,64343,320,64416,053,0002,006,0002,355,200