diff options
-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; } |