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 21, 2024 15:08AnSaAnSaScore: 5,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:085,63535,316,49315,028,0003,005,0002,383,872
2Jan 21, 2024 15:085,65344,735,33815,963,0002,128,0002,392,064
3Jan 21, 2024 15:085,66749,095,12516,120,0002,015,0002,449,408
4Jan 21, 2024 15:085,67643,406,31016,146,0002,018,0002,441,216
5Jan 21, 2024 15:085,68034,277,80316,158,0002,019,0002,379,776
6Jan 21, 2024 15:085,68338,104,57415,154,0003,030,0002,387,968
7Jan 21, 2024 15:085,68835,441,02914,156,0004,044,0002,379,776
8Jan 21, 2024 15:085,70039,072,83715,201,0003,040,0002,473,984
9Jan 21, 2024 15:085,72747,819,09516,289,0002,036,0002,379,776
10Jan 21, 2024 15:085,82685,643,69318,644,77402,306,048
11Jan 21, 2024 15:085,83574,189,31418,670,57202,310,144
12Jan 21, 2024 15:085,83883,988,74818,681,76002,306,048