游客 Signup | Login
中文 | En

2119 - P452 1-4

P452 1-4

Input

该程序主要看大家的程序风格,只需按照题意完成代码创建变量即可,无输入

Output

为了方便判断,输出整数1方便判断

Examples

Input

no input needed

Output

1

Solution C++

#include <iostream>
#include <string>
enum Category{rock,pop,blue,jazz,metal};
using namespace std;
struct Time
{
	int minutes;
	int seconds;
};
struct Song
{
	string title;
	string album;
	string artist;
	Time playingTime;
	Category category;
};
Song mySong;
int main()
{

	mySong.playingTime.minutes=6;
	mySong.playingTime.seconds=54;
	mySong.title="Halo";
	mySong.album="Underground X";
	mySong.artist="Linkin Park";
	mySong.category=metal;
	cout<<1<<endl;
	return 0;
}
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题