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 25, 2025 06:50Cameron AavikCameron AavikScore: 11,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 06:5010,93363,696,8285,997,00028,987,0002,539,520
2Jan 25, 2025 06:5010,99761,180,4177,038,00028,152,0002,314,240
3Jan 25, 2025 06:5011,08661,079,50810,136,00025,340,0002,318,336
4Jan 25, 2025 06:5011,09957,823,8204,059,00031,459,0002,527,232
5Jan 25, 2025 06:5011,12163,372,9567,117,00028,469,0002,293,760
6Jan 25, 2025 06:5011,12165,900,3206,100,00029,486,0002,535,424
7Jan 25, 2025 06:5011,21062,907,5676,975,00028,898,0002,293,760
8Jan 25, 2025 06:5011,26966,850,8506,010,00030,050,0002,535,424
9Jan 25, 2025 06:5011,54767,781,8398,987,00027,962,0002,539,520