Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107751 殷佳雨萱 19买画笔 C++ Compile Error 0 MS 0 KB 229 2025-01-18 11:53:02

Tests(0/0):


Code:

#include<iostream> using namespace std; int a[100]; int main(){ int n; int b; cin>>n; for(int i=1;i<=n;i++){ cin>>b; a[t]++; } for(int i=1;i<=100;i++){ if(a[i]==1) cout<<i; break; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:5: error: 't' was not declared in this scope
   a[t]++;
     ^