# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1120786 | vjudge1 | Tracks in the Snow (BOI13_tracks) | C++17 | 204 ms | 19044 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
// Telebe of adicto yani AzeTurk810
/*
Author: AzeTurk810
Licance: open source(only authors name must be in code)
Begin Time:11/20/2024 20:48
Problem link: https://codeforces.com/problemset/problem/1543/D1
*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
bool check(std::string s)
{
std::string sc = s;
reverse(sc.begin(),sc.end());
return sc == s;
}
signed main()
{
std::ios_base::sync_with_stdio(false);std::cin.tie(0);std::cout.tie(0);
int n,m;
cin>>n>>m;
char a[n][m];
int x=0,y=0;
bool b = 0,c= 0;
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{
cin>>a[i][j];
if(a[i][j] == 'F')b =1;
if(a[i][j] == 'R')c = 1;
}
}
cout<<(a+b);
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |