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 listNov 8, 2024 12:59Dmitrii TretiakovDmitrii TretiakovScore: 31,935Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2024 12:5931,896125,146,89666,044,00036,024,0002,289,664
2Nov 8, 2024 12:5931,905130,065,21076,071,00026,024,0002,412,544
3Nov 8, 2024 12:5931,927126,736,42266,107,00036,058,0002,281,472
4Nov 8, 2024 12:5931,931124,499,38973,128,00029,051,0002,400,256
5Nov 8, 2024 12:5931,935125,684,75175,142,00027,051,0002,281,472
6Nov 8, 2024 12:5931,968128,715,33781,237,00021,061,0002,424,832
7Nov 8, 2024 12:5932,049125,864,53499,540,0003,016,0002,416,640
8Nov 8, 2024 12:5932,091128,718,26381,549,00021,142,0002,281,472
9Nov 8, 2024 12:5932,134127,992,87681,865,00020,965,0002,408,448