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 listJan 9, 2025 19:16Ian MckibbenIan MckibbenScore: 7,805Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 19:207,71253,002,32223,650,0001,028,0002,273,280
2Jan 9, 2025 19:207,72850,451,30624,731,00002,289,664
3Jan 9, 2025 19:207,75953,305,69422,843,0001,986,0002,289,664
4Jan 9, 2025 19:207,76450,979,85623,852,000993,0002,273,280
5Jan 9, 2025 19:207,77953,997,46623,899,000995,0002,277,376
6Jan 9, 2025 19:207,78850,800,65023,882,0001,038,0002,289,664
7Jan 9, 2025 19:207,80547,522,42122,978,0001,998,0002,265,088
8Jan 9, 2025 19:207,81553,652,27923,008,0002,000,0002,273,280
9Jan 9, 2025 19:207,82350,510,56123,031,0002,002,0002,289,664
10Jan 9, 2025 19:1613,50869,068,48441,217,0002,010,0002,277,376
11Jan 9, 2025 19:1613,54373,177,18741,322,0002,015,0002,289,664
12Jan 9, 2025 19:1613,56469,438,74541,386,0002,018,0002,289,664