# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
771443 | NoLove | Tracks in the Snow (BOI13_tracks) | C++14 | 164 ms | 12188 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
/**
* author : Lăng Trọng Đạt
* creater: 2023-07-03
**/
#include <iostream>
#include <algorithm>
using namespace std;
#define int int64_t
const int MAXN = 4e3 + 5;
//int nums[MAXN];
int w, h;
char tmp;
bool f = false, r = false;
int32_t main() {
cin.tie(0)->sync_with_stdio(0);
if (fopen("hi.inp", "r")) {
freopen("hi.inp", "r", stdin);
}
cin >> w >> h;
while (cin >> tmp) {
f |= tmp == 'F';
r |= tmp == 'R';
}
if (f & r) cout << 2;
else cout << 1;
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |