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 3, 2023 21:35Hal FHal FScore: 4,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:354,66534,036,17012,938,0001,990,0002,277,376
2Jan 3, 2023 21:354,67642,652,73012,967,0001,995,0002,289,664
3Jan 3, 2023 21:354,69535,997,28613,020,0002,003,0002,289,664
4Jan 3, 2023 21:354,69644,669,79713,025,0002,003,0002,527,232
5Jan 3, 2023 21:354,70338,837,02113,045,0002,006,0002,289,664
6Jan 3, 2023 21:354,70842,193,20913,058,0002,009,0002,289,664
7Jan 3, 2023 21:354,71743,594,81214,088,0001,006,0002,269,184
8Jan 3, 2023 21:354,72139,051,54213,093,0002,014,0002,277,376
9Jan 3, 2023 21:354,72332,367,82513,099,0002,015,0002,281,472
10Jan 3, 2023 21:354,91381,168,47315,722,67302,293,760
11Jan 3, 2023 21:354,94880,521,64615,832,19102,306,048
12Jan 3, 2023 21:354,99475,015,02815,981,34202,293,760