| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153565 | 周铭洋 | 财务管理 | C++ | Compile Error | 0 MS | 0 KB | 244 | 2026-05-23 09:20:12 |
#include<bits/stdc++.h> using namespace std; int main() { int i=1,m=$1500 for(i=1,i=12,i++) { cin>>i*$1500; cout<<i*$1500<<endl; } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:15: error: '$1500' was not declared in this scope
int i=1,m=$1500
^
Main.cc:11:5: error: expected ',' or ';' before 'return'
return 0;
^
Main.cc:5:9: warning: unused variable 'i' [-Wunused-variable]
int i=1,m=$1500
^
Main.cc:5:13: warning: unused variable 'm' [-Wunused-variable]
int i=1,m=$1500
^