Acmicpc Maven Plugin
is a simple maven plugin for creating the problem
project using fully customizable templates.
<build>
<plugins>
<plugin>
<groupId>org.silentsoft.maven.plugins</groupId>
<artifactId>acmicpc-maven-plugin</artifactId>
<version>1.1.0</version>
<extensions>true</extensions>
<configuration>
<template>java</template>
<!-- <site>leetcode.com</site> -->
</configuration>
</plugin>
</plugins>
</build>
- Creating a problem
$ mvn -N acmicpc:create -Dproblem=1234
- Creating a problem with specific template
$ mvn -N acmicpc:create -Dproblem=1234 -Dtemplate=specific
- Creating a problem for specific site
$ mvn -N acmicpc:create -Dproblem=two-sum -Dsite=leetcode.com
- Revalidating project
$ mvn -N acmicpc:revalidate
-
I'm using another site(s) instead of acmicpc.net to solve algorithm problems. Can I use this program?
Of course you can. There are no restrictions on the use of this program. And you can edit the template. If you are using multiple sites then you can set
site
property. It's up to you. -
Can you provide a feature to download the problem text as a file from acmicpc.net ?
No. This can lead to sensitive issues related to copyright. Also, web scraping isn't allowed according to the rules.
-
Then can you provide a migration feature for downloading my source code that I've already submitted to acmicpc.net ?
No. According to the rules, web scraping isn't allowed for now.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please note we have a CODE_OF_CONDUCT, please follow it in all your interactions with the project.
Please refer to LICENSE.