除零取余——编译不报错,但运行无输出、返回代码为负值、运行时间长

#include using namespace std; int main() { int a = 5, n = 12; a %= n %= 2; cout << a<<" "<<n<< endl; return 0; } 除0取余无法运算。 无法进行到return0这一步。
相关文章
相关标签/搜索