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 listAug 3, 2024 05:16MylesMylesScore: 4,427Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:164,39933,450,09712,066,0002,011,0002,535,424
2Aug 3, 2024 05:164,41336,764,21512,106,0002,017,0002,281,472
3Aug 3, 2024 05:164,41637,332,72912,113,0002,018,0002,445,312
4Aug 3, 2024 05:164,41630,935,94112,113,0002,018,0002,441,216
5Aug 3, 2024 05:164,42533,883,41512,137,0002,022,0002,281,472
6Aug 3, 2024 05:164,42633,840,52512,141,0002,023,0002,441,216
7Aug 3, 2024 05:164,42731,016,76412,142,0002,023,0002,273,280
8Aug 3, 2024 05:164,42733,635,92212,143,0002,023,0002,445,312
9Aug 3, 2024 05:164,42832,990,95512,146,0002,024,0002,281,472
10Aug 3, 2024 05:164,69481,948,72715,022,30302,203,648
11Aug 3, 2024 05:164,69881,151,37115,034,10402,195,456
12Aug 3, 2024 05:164,74191,846,53015,170,71402,334,720