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 4, 2024 02:01jeffplaisancejeffplaisanceScore: 5,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 02:015,16537,569,02316,529,00002,277,376
2Aug 4, 2024 02:015,17537,093,51516,560,00002,498,560
3Aug 4, 2024 02:015,17540,691,40816,561,00002,498,560
4Aug 4, 2024 02:015,17835,971,18116,570,00002,494,464
5Aug 4, 2024 02:015,18338,917,40016,586,00002,494,464
6Aug 4, 2024 02:015,19144,355,87116,610,00002,535,424
7Aug 4, 2024 02:015,20642,565,74916,658,00002,498,560
8Aug 4, 2024 02:015,20830,098,43116,664,00002,494,464
9Aug 4, 2024 02:015,20846,334,63916,665,00002,498,560
10Aug 4, 2024 02:015,43990,100,26217,406,35202,244,608
11Aug 4, 2024 02:015,46693,674,02717,491,41102,232,320
12Aug 4, 2024 02:015,47780,336,99017,527,20302,244,608