Skip to content

Commit 36c77e2

Browse files
committed
reduce times
1 parent 674f5b5 commit 36c77e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/11_resources/config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"resource_limits" : {
33
// Allow the submission to run for 100 seconds.
4-
"RLIMIT_CPU" : 100
4+
"RLIMIT_CPU" : 30
55
},
66

77
"testcases" : [

examples/11_resources/submissions/buggy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
int main()
55
{
6-
sleep(1000);
6+
sleep(60);
77
std::cout << "Goodbye, world!" << std::endl;
88
}

examples/11_resources/submissions/solution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
int main()
55
{
6-
sleep(50);
6+
sleep(25);
77
std::cout << "Hello, world!" << std::endl;
88
}

0 commit comments

Comments
 (0)