Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
90326 | 余厚泽 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 201 | 2024-09-11 19:25:42 |
#include<bits/stdc++.h> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; if(y/x<=0) { if(y%x<) { cout<<n-(y/x+1); } else { cout<<n-y/x; } } return 0; }
Main.cc: In function 'int main()': Main.cc:9:10: error: expected primary-expression before ')' token if(y%x<) ^