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 26, 2024 13:29vahookvahookScore: 4,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:294,34933,859,53913,917,00002,494,464
2Aug 26, 2024 13:294,35830,932,11012,951,000996,0002,277,376
3Aug 26, 2024 13:294,36230,320,05712,961,000997,0002,277,376
4Aug 26, 2024 13:294,36829,698,47612,978,000998,0002,277,376
5Aug 26, 2024 13:294,36828,587,84212,980,000998,0002,535,424
6Aug 26, 2024 13:294,37634,660,18313,003,0001,000,0002,277,376
7Aug 26, 2024 13:294,37835,977,91312,008,0002,001,0002,277,376
8Aug 26, 2024 13:294,37835,397,92813,011,0001,000,0002,277,376
9Aug 26, 2024 13:294,38040,458,92313,015,0001,001,0002,277,376
10Aug 26, 2024 13:294,62259,919,35814,791,38002,371,584
11Aug 26, 2024 13:294,62991,023,83014,812,62202,371,584
12Aug 26, 2024 13:294,64773,125,95914,871,86402,244,608