# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
14480 | nosiar | scanf 함수 4 (BSC_0_6) | C++14 | 0 ms | 1716 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <sstream>
using namespace std;
int main() {
string x;
getline(cin, x);
auto r= x.find(' ');
if (r == string::npos) cout << 1 << endl;
else cout << 2 << endl;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |