We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9523196 commit 4bbfec4Copy full SHA for 4bbfec4
tests/scripts/ptc.sh
@@ -34,7 +34,7 @@ for header in ../library/**/*.hpp; do
34
lines="$(wc -l <input)"
35
for i in $(seq "$lines" -5 1); do
36
hash=$(head -n "$i" input | sed '/^#include/d' | cpp -dD -P -fpreprocessed | ./../library/contest/hash.sh)
37
- sed -i "${i}s/&/\/\/${hash}/" "$header"
+ sed -i "${i}s/$/\/\/${hash}/" "$header"
38
done
39
40
0 commit comments