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 13:00Dmitrii TretiakovDmitrii TretiakovScore: 31,949Success
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 13:0131,842129,219,14671,925,00029,969,0002,412,544
2Nov 8, 2024 13:0131,859130,238,40968,965,00032,983,0002,412,544
3Nov 8, 2024 13:0131,872129,472,38274,994,00026,997,0002,289,664
4Nov 8, 2024 13:0031,893123,545,60276,044,00026,015,0002,289,664
5Nov 8, 2024 13:0131,902124,701,61366,056,00036,030,0002,502,656
6Nov 8, 2024 13:0131,931126,453,30782,144,00020,035,0002,289,664
7Nov 8, 2024 13:0131,949125,355,58379,185,00023,053,0002,281,472
8Nov 8, 2024 13:0031,952129,011,06175,181,00027,065,0002,412,544
9Nov 8, 2024 13:0131,964128,191,19481,226,00021,058,0002,281,472
10Nov 8, 2024 13:0132,000129,760,72768,266,00034,133,0002,281,472
11Nov 8, 2024 13:0032,032130,871,63894,463,0008,039,0002,281,472
12Nov 8, 2024 13:0132,035126,306,22571,357,00031,156,0002,420,736