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 18, 2024 14:48AnSaAnSaScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 14:485,51850,982,44316,619,0001,038,0002,265,088
2Jan 18, 2024 14:485,53038,324,86417,696,00002,383,872
3Jan 18, 2024 14:485,53342,297,05717,705,00002,265,088
4Jan 18, 2024 14:485,54243,936,98816,691,0001,043,0002,379,776
5Jan 18, 2024 14:485,56843,509,37315,838,0001,979,0002,383,872
6Jan 18, 2024 14:485,57034,484,40816,834,000990,0002,383,872
7Jan 18, 2024 14:485,58242,268,79115,877,0001,984,0002,486,272
8Jan 18, 2024 14:485,58744,184,11215,892,0001,986,0002,265,088
9Jan 18, 2024 14:485,58947,751,45416,892,000993,0002,387,968
10Jan 18, 2024 14:485,72391,080,81118,312,26602,273,280
11Jan 18, 2024 14:485,80976,543,14818,588,59402,281,472
12Jan 18, 2024 14:485,82869,007,13418,649,09402,269,184