Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157893 张蔚林 短信计费 C++ Compile Error 0 MS 0 KB 328 2026-08-18 21:22:08

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; double dx(int s){ double o=0; if(s%70!=0){ o=s/70*0.1+0.1; } else{ o=s/70*0.1; } return o; } int main(){ int n; cin>>n; int x[1501]; for(int i=o;i<n;i++){ cin>>x[i]; } for(int j=0;j<n;j++){ dx(j); } cout<<j; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:17:11: error: 'o' was not declared in this scope
 for(int i=o;i