Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136520 孔声豪 07判断正负数 C++ Compile Error 0 MS 0 KB 164 2025-11-15 12:27:34

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(f>0){ cout<<"Yes"<<endl; } else { cout<<"No"<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: 'f' was not declared in this scope
  if(f>0){
     ^