diff options
author | RossTheRoss <msattr@gmail.com> | 2019-02-12 19:31:53 +0000 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-02-12 19:31:53 +0000 |
commit | c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034 (patch) | |
tree | 1176a2131ce8e15401d94b48ad6925bb3f10cfb0 | |
parent | Fix (diff) | |
download | homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.tar homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.tar.gz homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.tar.bz2 homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.tar.lz homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.tar.xz homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.tar.zst homework-c8c115dbe6b5c67dcbf6eb018a07af5dcb8f7034.zip |
Error code change?
-rw-r--r-- | misc/test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/test.cpp b/misc/test.cpp index b14f99a..564b6f2 100644 --- a/misc/test.cpp +++ b/misc/test.cpp @@ -14,11 +14,11 @@ int main () { cout << "Not prime!" << endl; a=1; break; - return 3; + return i; } } if (a!=1) cout << "Prime!" << endl; - return 2; + return 0; } |