| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 119656 | 张文浩 | 13求n个数的最小值 | C++ | Compile Error | 0 MS | 0 KB | 272 | 2025-05-18 11:30:31 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; if(1>=n>=10){ cout<<n%1357984; } return 0; } #include<iostream> using namespace std; int main(){ int n; cin>>n; if(1>=n>=10){ cout<<n%1357984; } return 0; }
Main.cc: In function 'int main()':
Main.cc:6:9: warning: comparison of constant '10' with boolean expression is always false [-Wbool-compare]
if(1>=n>=10){
^
Main.cc:6:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(1>=n>=10){
^
Main.cc: In function 'int main()':
Main.cc:15:5: error: redefinition of 'int main()'
int main(){
^
Main.cc:3:5: note: 'int main()' previously defined here
int main(){
^
Main.cc:18:9: warning: comparison of constant '10' with boolean expression is always false [-Wbool-compare]
if(1>=n>=10){
^
Main.cc:18:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(1>=n>=10){
^