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 22, 2024 09:19Alexander MonakovAlexander MonakovScore: 4,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:194,70037,912,14914,039,0001,002,0002,494,464
2Jan 22, 2024 09:194,70933,762,66314,064,0001,004,0002,277,376
3Jan 22, 2024 09:194,71936,472,72114,096,0001,006,0002,277,376
4Jan 22, 2024 09:194,73231,073,94314,134,0001,009,0002,502,656
5Jan 22, 2024 09:194,74033,577,28714,158,0001,011,0002,498,560
6Jan 22, 2024 09:194,74230,530,23814,162,0001,011,0002,277,376
7Jan 22, 2024 09:194,74642,356,49614,174,0001,012,0002,277,376
8Jan 22, 2024 09:194,74838,259,43514,182,0001,013,0002,502,656
9Jan 22, 2024 09:194,77337,984,81814,254,0001,018,0002,498,560
10Jan 22, 2024 09:194,96276,414,52315,879,62002,248,704
11Jan 22, 2024 09:194,98795,209,30815,957,63202,232,320
12Jan 22, 2024 09:195,00181,993,19116,003,23902,240,512