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 3, 2023 22:09Jack FrigaardJack FrigaardScore: 4,760Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 22:094,72837,537,61113,113,0002,017,0002,289,664
2Jan 3, 2023 22:094,73737,245,34314,149,0001,010,0002,289,664
3Jan 3, 2023 22:094,74531,747,06513,159,0002,024,0002,379,776
4Jan 3, 2023 22:094,74942,214,52513,171,0002,026,0002,531,328
5Jan 3, 2023 22:094,75035,832,32713,173,0002,026,0002,273,280
6Jan 3, 2023 22:094,75631,800,45513,191,0002,029,0002,383,872
7Jan 3, 2023 22:094,76043,076,28513,202,0002,031,0002,289,664
8Jan 3, 2023 22:094,77631,860,11714,264,0001,018,0002,379,776
9Jan 3, 2023 22:094,78034,072,79213,258,0002,039,0002,289,664
10Jan 3, 2023 22:094,98190,820,32515,940,60702,306,048
11Jan 3, 2023 22:094,98585,623,34715,952,85502,297,856
12Jan 3, 2023 22:095,00576,396,10416,017,55202,252,800