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:58Dmitrii TretiakovDmitrii TretiakovScore: 32,462Success
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:5832,309130,458,06778,295,00025,094,0002,277,376
2Nov 8, 2024 12:5832,375134,128,17275,438,00028,163,0002,289,664
3Nov 8, 2024 12:5832,451128,764,07076,884,00026,959,0002,277,376
4Nov 8, 2024 12:5832,453128,353,84376,889,00026,961,0002,273,280
5Nov 8, 2024 12:5832,462123,974,68074,912,00028,966,0002,277,376
6Nov 8, 2024 12:5832,503132,104,41972,006,00032,002,0002,281,472
7Nov 8, 2024 12:5832,522134,106,87477,052,00027,018,0002,273,280
8Nov 8, 2024 12:5832,538133,665,19974,088,00030,035,0002,281,472
9Nov 8, 2024 12:5832,634130,803,00078,322,00026,107,0002,281,472