|
|
вернуться в форумwhat's wrong? why runtime error (non-zero exit code)? help me! #include <iostream> using namespace std; int main() { int a,b; cin >>a; cin >>b; cout<<a+b; return 1; } Re: what's wrong? why runtime error (non-zero exit code)? help me! > why runtime error (non-zero exit code)? > return 1; LOL Re: what's wrong? why runtime error (non-zero exit code)? help me! thanks you so muck! your mean is wrong in "return 1;" so display "Compilation error" Re: what's wrong? why runtime error (non-zero exit code)? help me! Every solution send to this page must return 0 as exit code, otherwise you will get "Runtime Error". |
|
|