1 solutions

  • 0
    @ 2025-11-5 19:33:03

    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;
    }
    

    Pascal :

    begin
      write(1);
    end.
    
    • 1

    Information

    ID
    19378
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By