Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Add test for bridged checker MLE #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bridged_checker_mle/checker.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
int main() {
return (new int[512][512][512][512])[0][0][0][0];
}
7 changes: 7 additions & 0 deletions bridged_checker_mle/init.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
checker:
name: bridged
args:
files: checker.cpp
lang: CPP11
test_cases:
- points: 10
1 change: 1 addition & 0 deletions bridged_checker_mle/tests/py_ie/ie.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pass
6 changes: 6 additions & 0 deletions bridged_checker_mle/tests/py_ie/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: PY2
time: 5
memory: 65536
source: ie.py
expect: IE
feedback: 'std::bad_alloc'