qfedu-basic-level/day6/d5.cpp

12 lines
215 B
C++
Raw Permalink Normal View History

2023-06-19 15:08:08 +08:00
// 逻辑非测试
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a >> b; // 3 4
cout << "!(a > b) = " << !(a > b) << endl; // !0 = 1
return 0;
}