Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
119824 wjx10 财务管理 C++ Compile Error 0 MS 0 KB 190 2025-05-19 20:21:35

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a,b=0; for(innt i=1;i<=12;i++) { cin>>a; b+=a; } cout<<b/12; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:9: error: 'innt' was not declared in this scope
     for(innt i=1;i<=12;i++)
         ^
Main.cc:6:18: error: 'i' was not declared in this scope
     for(innt i=1;i<=12;i++)
                  ^