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 listJul 23, 2021 20:53Adam FolwarcznyAdam FolwarcznyScore: 5,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2021 20:535,61042,783,97215,959,0001,994,0002,265,088
2Jul 23, 2021 20:535,61938,482,80516,982,000998,0002,387,968
3Jul 23, 2021 20:535,62846,983,95616,008,0002,001,0002,523,136
4Jul 23, 2021 20:535,63239,497,81317,021,0001,001,0002,265,088
5Jul 23, 2021 20:535,63934,052,64617,042,0001,002,0002,265,088
6Jul 23, 2021 20:535,64448,984,47817,058,0001,003,0002,396,160
7Jul 23, 2021 20:535,65232,738,98517,082,0001,004,0002,265,088
8Jul 23, 2021 20:535,66235,790,91117,112,0001,006,0002,265,088
9Jul 23, 2021 20:535,67049,492,53916,129,0002,016,0002,387,968
10Jul 23, 2021 20:535,69294,114,17118,214,69702,277,376
11Jul 23, 2021 20:535,703100,696,13918,248,56802,281,472
12Jul 23, 2021 20:535,72275,608,23418,310,83902,281,472