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 listApr 26, 2025 20:24lukostlukostScore: 5,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:244,98432,103,89113,956,0001,993,0002,539,520
2Apr 26, 2025 20:234,99231,980,32313,978,0001,996,0002,445,312
3Apr 26, 2025 20:234,99836,724,98213,993,0001,999,0002,281,472
4Apr 26, 2025 20:234,99838,447,06313,996,0001,999,0002,441,216
5Apr 26, 2025 20:235,00033,956,58114,000,0002,000,0002,445,312
6Apr 26, 2025 20:235,00435,369,59914,011,0002,001,0002,445,312
7Apr 26, 2025 20:245,00841,017,23614,022,0002,003,0002,441,216
8Apr 26, 2025 20:235,01536,018,99714,043,0002,006,0002,539,520
9Apr 26, 2025 20:235,02429,671,00914,067,0002,009,0002,539,520
10Apr 26, 2025 20:235,03031,832,77814,085,0002,012,0002,445,312
11Apr 26, 2025 20:245,03731,701,73014,104,0002,014,0002,539,520
12Apr 26, 2025 20:235,04035,396,20014,113,0002,016,0002,539,520