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 21, 2024 12:23AnSaAnSaScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 12:235,27444,330,79415,885,000992,0002,281,472
2Jan 21, 2024 12:235,27743,349,03514,901,0001,986,0002,277,376
3Jan 21, 2024 12:235,28044,099,06014,909,0001,987,0002,281,472
4Jan 21, 2024 12:235,28138,224,31715,905,000994,0002,281,472
5Jan 21, 2024 12:235,28844,819,91314,931,0001,990,0002,396,160
6Jan 21, 2024 12:235,29832,198,19814,959,0001,994,0002,396,160
7Jan 21, 2024 12:235,30033,791,44315,962,000997,0002,396,160
8Jan 21, 2024 12:235,30253,592,19415,968,000998,0002,392,064
9Jan 21, 2024 12:235,30342,753,21914,974,0001,996,0002,281,472
10Jan 21, 2024 12:235,46695,459,81317,491,92902,281,472
11Jan 21, 2024 12:235,47877,138,30917,528,33402,273,280
12Jan 21, 2024 12:235,50194,234,03917,602,89202,289,664