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 15, 2024 14:51matsuoka-601matsuoka-601Score: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:515,46941,212,05916,472,0001,029,0002,379,776
2Jan 15, 2024 14:515,47336,584,34816,483,0001,030,0002,289,664
3Jan 15, 2024 14:515,47541,401,68916,491,0001,030,0002,289,664
4Jan 15, 2024 14:515,48238,657,48217,543,00002,289,664
5Jan 15, 2024 14:515,48341,511,53716,514,0001,032,0002,273,280
6Jan 15, 2024 14:515,49344,770,93316,544,0001,034,0002,289,664
7Jan 15, 2024 14:515,53344,485,32615,737,0001,967,0002,510,848
8Jan 15, 2024 14:515,57637,753,34015,860,0001,982,0002,289,664
9Jan 15, 2024 14:515,58345,248,00515,881,0001,985,0002,289,664
10Jan 15, 2024 14:515,61685,970,32817,971,22502,297,856
11Jan 15, 2024 14:515,64256,437,39918,053,17402,306,048
12Jan 15, 2024 14:515,65670,945,94418,098,25502,297,856