# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
910203 | 2024-01-18T01:52:53 Z | ByeWorld | Tracks in the Snow (BOI13_tracks) | C++14 | 45 ms | 984 KB |
#include <bits/stdc++.h> #pragma GCC optimize("Ofast,unroll-loops") #define bupol __builtin_popcount //#define int long long #define ll long long #define ld long double #define fi first #define se second #define pb push_back #define lf (id<<1) #define rg ((id<<1)|1) #define md ((l+r)>>1) using namespace std; const int MAXN = 2e5+5; const int MAXK = 205; const int LOG = 20; const int MOD = 1e9+7; const int SQRT = 520; const int INF = 1e9+10; typedef pair<ll,ll> pii; typedef pair<ll,pii> ipii; int h, w; char s[410][410]; signed main(){ //ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); cin >> h >> w; for(int i=0; i<h; i++){ for(int j=0; j<w; j++){ scanf("%c", &s[i][j]); } } int ans = 0, an = 0; set<char> x; for(int i=0; i<h; i++){ for(int j=0; j<w; j++){ if(s[i][j]=='.') continue; if(s[i][j] == 'F') ans = 1; else if(s[i][j] == 'R') an = 1; } } cout << ans+an << '\n'; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Runtime error | 8 ms | 856 KB | Execution killed with signal 11 |
2 | Incorrect | 0 ms | 348 KB | Output isn't correct |
3 | Incorrect | 1 ms | 344 KB | Output isn't correct |
4 | Runtime error | 5 ms | 860 KB | Execution killed with signal 11 |
5 | Incorrect | 3 ms | 544 KB | Output isn't correct |
6 | Incorrect | 1 ms | 348 KB | Output isn't correct |
7 | Incorrect | 1 ms | 348 KB | Output isn't correct |
8 | Incorrect | 1 ms | 348 KB | Output isn't correct |
9 | Incorrect | 1 ms | 348 KB | Output isn't correct |
10 | Incorrect | 3 ms | 348 KB | Output isn't correct |
11 | Incorrect | 1 ms | 348 KB | Output isn't correct |
12 | Incorrect | 3 ms | 348 KB | Output isn't correct |
13 | Incorrect | 3 ms | 344 KB | Output isn't correct |
14 | Incorrect | 3 ms | 348 KB | Output isn't correct |
15 | Runtime error | 8 ms | 860 KB | Execution killed with signal 11 |
16 | Runtime error | 6 ms | 860 KB | Execution killed with signal 11 |
17 | Runtime error | 6 ms | 860 KB | Execution killed with signal 11 |
18 | Runtime error | 4 ms | 860 KB | Execution killed with signal 11 |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Runtime error | 2 ms | 860 KB | Execution killed with signal 11 |
2 | Runtime error | 14 ms | 860 KB | Execution killed with signal 11 |
3 | Runtime error | 40 ms | 828 KB | Execution killed with signal 11 |
4 | Runtime error | 21 ms | 860 KB | Execution killed with signal 11 |
5 | Runtime error | 34 ms | 832 KB | Execution killed with signal 11 |
6 | Runtime error | 40 ms | 600 KB | Execution killed with signal 11 |
7 | Runtime error | 1 ms | 860 KB | Execution killed with signal 11 |
8 | Runtime error | 1 ms | 860 KB | Execution killed with signal 11 |
9 | Incorrect | 2 ms | 344 KB | Output isn't correct |
10 | Incorrect | 1 ms | 348 KB | Output isn't correct |
11 | Runtime error | 1 ms | 860 KB | Execution killed with signal 11 |
12 | Incorrect | 1 ms | 348 KB | Output isn't correct |
13 | Runtime error | 16 ms | 860 KB | Execution killed with signal 11 |
14 | Runtime error | 11 ms | 860 KB | Execution killed with signal 11 |
15 | Runtime error | 11 ms | 860 KB | Execution killed with signal 11 |
16 | Incorrect | 17 ms | 348 KB | Output isn't correct |
17 | Runtime error | 21 ms | 712 KB | Execution killed with signal 11 |
18 | Runtime error | 25 ms | 860 KB | Execution killed with signal 11 |
19 | Runtime error | 21 ms | 860 KB | Execution killed with signal 11 |
20 | Runtime error | 20 ms | 768 KB | Execution killed with signal 11 |
21 | Runtime error | 30 ms | 852 KB | Execution killed with signal 11 |
22 | Runtime error | 31 ms | 852 KB | Execution killed with signal 11 |
23 | Runtime error | 32 ms | 736 KB | Execution killed with signal 11 |
24 | Runtime error | 30 ms | 852 KB | Execution killed with signal 11 |
25 | Runtime error | 39 ms | 860 KB | Execution killed with signal 11 |
26 | Runtime error | 35 ms | 732 KB | Execution killed with signal 11 |
27 | Runtime error | 39 ms | 852 KB | Execution killed with signal 11 |
28 | Runtime error | 39 ms | 740 KB | Execution killed with signal 11 |
29 | Runtime error | 40 ms | 824 KB | Execution killed with signal 11 |
30 | Runtime error | 45 ms | 852 KB | Execution killed with signal 11 |
31 | Runtime error | 42 ms | 984 KB | Execution killed with signal 11 |
32 | Runtime error | 40 ms | 792 KB | Execution killed with signal 11 |