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 29, 2024 06:48CalCalScore: 5,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2024 06:485,37739,663,20916,195,0001,012,0002,396,160
2Jan 29, 2024 06:485,39337,393,78116,243,0001,015,0002,281,472
3Jan 29, 2024 06:485,40240,076,45016,271,0001,016,0002,510,848
4Jan 29, 2024 06:485,40440,923,31017,292,00002,281,472
5Jan 29, 2024 06:485,40539,651,82316,280,0001,017,0002,281,472
6Jan 29, 2024 06:485,41237,281,39617,318,00002,281,472
7Jan 29, 2024 06:485,41544,660,67616,309,0001,019,0002,404,352
8Jan 29, 2024 06:485,41838,121,46117,337,00002,396,160
9Jan 29, 2024 06:485,43238,290,26017,381,00002,281,472
10Jan 29, 2024 06:485,72077,522,56618,303,56902,289,664
11Jan 29, 2024 06:485,78992,147,63218,524,81802,297,856
12Jan 29, 2024 06:485,82393,540,41218,633,02702,301,952