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 23, 2024 16:15Gokberk YaltirakliGokberk YaltirakliScore: 5,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 16:155,73738,192,90816,318,0002,039,0002,527,232
2Jan 23, 2024 16:155,73943,525,83717,345,0001,020,0002,289,664
3Jan 23, 2024 16:155,74445,923,58217,359,0001,021,0002,269,184
4Jan 23, 2024 16:155,74940,354,56217,374,0001,022,0002,269,184
5Jan 23, 2024 16:155,75243,550,61717,383,0001,022,0002,289,664
6Jan 23, 2024 16:155,77748,530,61318,485,00002,289,664
7Jan 23, 2024 16:155,77939,693,42918,493,00002,289,664
8Jan 23, 2024 16:155,78842,466,94717,492,0001,028,0002,527,232
9Jan 23, 2024 16:155,81847,142,36317,582,0001,034,0002,265,088
10Jan 23, 2024 16:155,95591,633,00019,056,84802,174,976
11Jan 23, 2024 16:155,95977,314,04619,069,96402,297,856
12Jan 23, 2024 16:156,02283,275,53819,271,25102,297,856