|
@ -18,7 +18,6 @@ if [ $? -eq 0 ]; then |
|
|
echo |
|
|
echo |
|
|
echo $OUTPUT > submitted/$problem |
|
|
echo $OUTPUT > submitted/$problem |
|
|
if [[ $REPLY =~ ^[Yy]$ ]]; then |
|
|
if [[ $REPLY =~ ^[Yy]$ ]]; then |
|
|
exit 1 |
|
|
|
|
|
response=`curl --user :2aaFCkjNIDHAsAIh9iQHc+Y+FGhkM5Z0RQgpO6TL6EA= -X POST -H "Content-Type: application/json" -d "$OUTPUT" https://davar.icfpcontest.org/teams/235/solutions` |
|
|
response=`curl --user :2aaFCkjNIDHAsAIh9iQHc+Y+FGhkM5Z0RQgpO6TL6EA= -X POST -H "Content-Type: application/json" -d "$OUTPUT" https://davar.icfpcontest.org/teams/235/solutions` |
|
|
if [ "$response" == "created" ]; then |
|
|
if [ "$response" == "created" ]; then |
|
|
echo "Submitted" |
|
|
echo "Submitted" |
|
|