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 listApr 22, 2024 09:15PhibPhibScore: 5,636Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 09:155,58345,110,82016,873,000992,0002,510,848
2Apr 22, 2024 09:155,60842,024,16814,955,0002,991,0002,281,472
3Apr 22, 2024 09:155,62240,949,59115,991,0001,998,0002,510,848
4Apr 22, 2024 09:155,62642,018,54516,003,0002,000,0002,289,664
5Apr 22, 2024 09:155,62946,171,42217,012,0001,000,0002,281,472
6Apr 22, 2024 09:155,63141,095,41816,016,0002,002,0002,510,848
7Apr 22, 2024 09:155,63636,125,09015,030,0003,006,0002,506,752
8Apr 22, 2024 09:155,64350,224,03116,051,0002,006,0002,523,136
9Apr 22, 2024 09:155,64739,772,21917,067,0001,003,0002,281,472
10Apr 22, 2024 09:155,88479,643,35918,827,64102,277,376
11Apr 22, 2024 09:155,91483,404,48018,923,47802,297,856
12Apr 22, 2024 09:155,91783,526,11318,934,47702,281,472