MY FIRST TASK

Revision ru2, by ibrahimmammadli, 2026-08-04 17:16:59

Hi everyone! I recently tried my hand at problemsetting and created my very first problem. I would be very glad if you could take a couple of minutes to solve it and share your feedback in the comments!

About the Problem

  • Name: Equal Ends
  • Problem Link: View Problem
  • Time Limit: 1 second
  • Memory Limit: 256 megabytes

Problem Statement

You are given a string $$$s$$$ consisting of lowercase English letters. A string is called "good" if its first character is the same as its last character. Given the string $$$s$$$, determine whether it is good. Print YES if it is good, and NO otherwise.

I would appreciate any feedback, suggestions, or criticism since this is my first experience creating problems! Good luck and happy coding!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru4 Russian ibrahimmammadli 2026-08-05 21:06:11 81
ru3 Russian ibrahimmammadli 2026-08-04 17:22:50 936
ru2 Russian ibrahimmammadli 2026-08-04 17:16:59 367
ru1 Russian ibrahimmammadli 2026-08-04 17:16:32 1205 Первая редакция (опубликовано)