Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Judge uses CPU time or total time? #38

Open
guptaaditya13 opened this issue Dec 19, 2015 · 3 comments
Open

Judge uses CPU time or total time? #38

guptaaditya13 opened this issue Dec 19, 2015 · 3 comments
Labels

Comments

@guptaaditya13
Copy link

I have doubt, while executing, the judge considers the total time spent by the process or the time spend by the process in CPU. ideally it should be the second one.

@ngsankha
Copy link
Owner

Yes, this is a bug that needs to be fixed. This should be the CPU time, but right now it only measures the total time spent by the process.

@ngsankha ngsankha added the bug label Dec 21, 2015
@guptaaditya13
Copy link
Author

@sankha93 do you have any idea how we can implement it?

@ngsankha
Copy link
Owner

Yes, I think some form of the ulimit needs to be set to fix the maximum CPU time of the program.

That said, I do agree there needs to be a better sandbox implementation for this. I have some ideas for it, may be I'll get to implementing it soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants