Submission #111213


Source Code Expand

#include <iostream>
#include <string>
using namespace std;
 
int main()
{
	char s[100],t[100];
	unsigned int i,j;
	cin>>s;

	j=0;
	for(i=0;i<strlen(s);i++)
	{
		if(s[i]!='a'&&s[i]!='i'&&s[i]!='u'&&s[i]!='e'&&s[i]!='o')
		{
			t[j]=s[i];
			j++;
		}
	}
	for(i=0;i<j;i++)
		printf("%c",t[i]);
	cout<<endl;
}

Submission Info

Submission Time
Task B - 罠
User redoily
Language C++ (G++ 4.6.4)
Score 0
Code Size 327 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:12:20: error: ‘strlen’ was not declared in this scope
./Main.cpp:21:19: error: ‘printf’ was not declared in this scope