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 listJun 12, 2024 03:18Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:2300000Error: expected "977646 ", got "977390 "
2Jun 12, 2024 03:184,587674,601,29814,678,79302,273,280
3Jun 12, 2024 03:184,600666,765,38814,719,36802,244,608
4Jun 12, 2024 03:184,610682,082,67714,753,41502,244,608
5Jun 12, 2024 03:234,620664,905,51314,783,04802,281,472
6Jun 12, 2024 03:184,622671,924,26614,790,39302,285,568
7Jun 12, 2024 03:234,630684,698,84214,816,81302,277,376
8Jun 12, 2024 03:234,634685,507,38314,830,08802,273,280
9Jun 12, 2024 03:184,635665,520,22514,832,31302,281,472
10Jun 12, 2024 03:184,648674,191,36814,874,54602,285,568