Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
52076 wuzhiyan 奇偶数判断 C++ Compile Error 0 MS 0 KB 239 2024-09-27 15:36:09

Tests(0/0):


#include <iostream> using namespace std; int main() { int a; cin >> a; if(a%3==0){ cout << 3 << " "; } if(a%5==0){ cout << 5 << " "; } if(a%7==0){ cout << 7; } if(a%3!=0&&a%5!=0&&a%7!=0){ cout << "n"; }


Judgement Protocol: