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 29, 2024 19:29Joad NacerJoad NacerScore: 4,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 19:304,33731,334,71412,888,000991,0002,531,328
2Nov 29, 2024 19:294,33934,574,01812,894,000991,0002,269,184
3Nov 29, 2024 19:304,33930,627,14012,893,000991,0002,433,024
4Nov 29, 2024 19:304,34229,114,92211,909,0001,984,0002,433,024
5Nov 29, 2024 19:304,34332,277,47712,907,000992,0002,531,328
6Nov 29, 2024 19:304,34335,306,59112,905,000992,0002,420,736
7Nov 29, 2024 19:294,34431,696,83713,900,00002,531,328
8Nov 29, 2024 19:304,34429,832,73912,909,000993,0002,433,024
9Nov 29, 2024 19:304,34634,593,61613,907,00002,531,328
10Nov 29, 2024 19:304,34726,909,79911,922,0001,987,0002,428,928
11Nov 29, 2024 19:294,34933,003,30513,916,00002,269,184
12Nov 29, 2024 19:294,35129,435,88612,930,000994,0002,531,328
13Nov 29, 2024 19:304,35231,733,19912,933,000994,0002,437,120
14Nov 29, 2024 19:304,35330,820,18612,936,000995,0002,510,848
15Nov 29, 2024 19:294,35431,289,06612,939,000995,0002,428,928
16Nov 29, 2024 19:304,36432,148,94712,967,000997,0002,428,928
17Nov 29, 2024 19:304,37434,851,59112,999,000999,0002,531,328
18Nov 29, 2024 19:294,44534,049,39613,208,0001,016,0002,531,328