pc2ccs / pc2v9

Version 9 of the PC^2 Programming Contest Control System
Eclipse Public License 2.0
45 stars 23 forks source link

Add compilation step team application file size limit #767

Open lane55 opened 1 year ago

lane55 commented 1 year ago

Is your feature request related to a problem?

Teams can submit runs which will result in huge application file sizes

Feature Description:

Provide a way to limit the file size for the teams application

If the limit is exceeded return a judgement of CE

Have you considered other ways to accomplish the same thing?

Do you have any specific suggestions for how your feature would be **implemented in PC^2?**

Additional context:

clevengr commented 9 months ago

What does the term huge application file sizes refer to? Does it mean the size of the source code submitted by the team? (If so, this is a duplicate of Issue #606 and should be closed).
If on the other hand it is intended to mean the compiled (executable) file, it seems like that's a function of the compiler, which is not something the team has control over. Regardless, I'm not aware of any other CCS that implements such a limit, and there's no CLICS specification for it (that I'm aware of). What's the purpose of providing such a non-standard limit?