| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61009 | 冯纪尧 | 19买画笔 | C++ | Wrong Answer | 1 MS | 272 KB | 177 | 2023-11-25 16:59:46 |
#include<iostream> using namespace std; int main(){ long long a; int b[101]; cin>>a; for(int i=1;i<=a;i++){ cin>>b[i]; if(b[i]==1){ cout<<i; } } }
------Input------
9 1 1 9 11 3 3 11 5 9
------Answer-----
5
------Your output-----
12