Algorithm


Problem Name: beecrowd | 2755

Problem Link: https://www.beecrowd.com.br/judge/en/problems/view/2755

Output 9

 

By Roberto A. Costa Jr, UNIFEI BR Brazil

Timelimit: 1

Your programming teacher would like you to do a program with the following characteristics:

  1. Show the following sentence on the screen: "Ro'b'er to \ /" (Between r and t has a tab);
  2. Show the following sentence on the screen: (._.) ( l: ) ( .-. ) ( :l ) (._.);
  3. Show the following sentence on the screen: (^_-) (-_-) (-_^);
  4. Show the following sentence on the screen: ("_") ('.');

 

Input

 

There is not.

 

Output

 

The result of your program should be written according to the output example.

 

 

 

Input Sample Output Sample
 

"Ro'b'er        to\/"

(._.) ( l: ) ( .-. ) ( :l ) (._.)

(^_-) (-_-) (-_^)

("_") ('.')

 

Code Examples

#1 Code Example with C Programming

Code - C Programming


#include <stdio.h>
int main() { 
    printf("\"Ro'b'er\tto\\/\"\n");
    printf("(._.) ( l: ) ( .-. ) ( :l ) (._.)\n");
    printf("(^_-) (-_-) (-_^)\n");
    printf("(\"_\") ('.')\n");
}
Copy The Code & Try With Live Editor

Output

x
+
cmd
"Ro'b'er to\/" (._.) ( l: ) ( .-. ) ( :l ) (._.) (^_-) (-_-) (-_^) ("_") ('.')

#2 Code Example with C++ Programming

Code - C++ Programming


#include <iostream>

using namespace std;

int main()
{
    cout << "\"Ro'b'er\tto\\/\"" << endl;
    cout << "(._.) ( l: ) ( .-. ) ( :l ) (._.)" << endl;
    cout << "(^_-) (-_-) (-_^)" << endl;
    cout << "(\"_\") ('.')" << endl;
    return 0;
}

Copy The Code & Try With Live Editor

Output

x
+
cmd
"Ro'b'er to\/" (._.) ( l: ) ( .-. ) ( :l ) (._.) (^_-) (-_-) (-_^) ("_") ('.')

#3 Code Example with Java Programming

Code - Java Programming


public class Main {
	public static void main(String[] args) {
		System.out.println("\"Ro'b'er\tto\\/\"");
		System.out.println("(._.) ( l: ) ( .-. ) ( :l ) (._.)");
		System.out.println("(^_-) (-_-) (-_^)");
		System.out.println("(\"_\") (\'.\')");
	}
}

Copy The Code & Try With Live Editor

Output

x
+
cmd
"Ro'b'er to\/" (._.) ( l: ) ( .-. ) ( :l ) (._.) (^_-) (-_-) (-_^) ("_") ('.')

#4 Code Example with Javascript Programming

Code - Javascript Programming


const output = [
	"\"Ro'b'er\tto\\/\"",
	"(._.) ( l: ) ( .-. ) ( :l ) (._.)",
	"(^_-) (-_-) (-_^)",
	"(\"_\") ('.')",
]

console.log(output.join("\n"))
Copy The Code & Try With Live Editor

Output

x
+
cmd
"Ro'b'er to\/" (._.) ( l: ) ( .-. ) ( :l ) (._.) (^_-) (-_-) (-_^) ("_") ('.')

#5 Code Example with Python Programming

Code - Python Programming


print('"Ro\'b\'er\tto\\/"')
print('(._.) ( l: ) ( .-. ) ( :l ) (._.)')
print('(^_-) (-_-) (-_^)')
print('("_") (\'.\')')

Copy The Code & Try With Live Editor

Output

x
+
cmd
"Ro'b'er to\/" (._.) ( l: ) ( .-. ) ( :l ) (._.) (^_-) (-_-) (-_^) ("_") ('.')
Advertisements

Demonstration


Previous
#2754 Beecrowd Online Judge Solution 2754 Output 8 Solution in C, C++, Java, Js and Python
Next
#2756 Beecrowd Online Judge Solution 2756 Output 10 Solution in C, C++, Java, Js and Python