| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 9226 | 陈颖钧 | 判定字符位置 | C++ | Wrong Answer | 75 | 1 MS | 260 KB | 370 | 2025-04-08 22:37:02 |
#include<bits/stdc++.h> using namespace std; int i,n=1,k; char a[30]; int main(){ while(cin>>a[n]){ n++; } for(i=1;i<=n;i++){ if(a[i]=='a'||a[i]=='e'||a[i]=='u'||a[i]=='i'||a[i]=='o'){ k++; break; } } if(i==n&&k==1){ cout<<0; }else{ cout<<i; } return 0; }