Submission #25806400


Source Code Expand

use proconio::input;
use proconio::marker::Bytes;

fn main() {
    input!{
        n: usize,
        s: Bytes,
    }
    if s[n-1] == b'o'{
        println!("Yes"); 
    }
    else{
        println!("No");
    }
}

Submission Info

Submission Time
Task A - Weather Forecast
User hnakashima
Language Rust (1.42.0)
Score 100
Code Size 227 Byte
Status AC
Exec Time 6 ms
Memory 2116 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.txt, hand_08.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 6 ms 2116 KiB
hand_02.txt AC 1 ms 2100 KiB
hand_03.txt AC 2 ms 2048 KiB
hand_04.txt AC 2 ms 2000 KiB
hand_05.txt AC 1 ms 2048 KiB
hand_06.txt AC 2 ms 2076 KiB
hand_07.txt AC 2 ms 2004 KiB
hand_08.txt AC 2 ms 1996 KiB
sample_01.txt AC 1 ms 2012 KiB
sample_02.txt AC 3 ms 2028 KiB