Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138589 李昱龙 13投资金额 C++ Compile Error 0 MS 0 KB 161 2025-11-28 22:08:18

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; scanf("%d",&n); double a = m*1.2; printf("%.0lf",a); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:13: error: 'm' was not declared in this scope
  double a = m*1.2;
             ^
Main.cc:5:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
                ^