結果
| 問題 | No.5025 Forest Fire |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-10-24 16:03:42 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 2 ms / 2,000 ms |
| + 93µs | |
| コード長 | 1,243 bytes |
| 記録 | |
| コンパイル時間 | 2,395 ms |
| コンパイル使用メモリ | 342,756 KB |
| 実行使用メモリ | 9,924 KB |
| スコア | 165,153,385 |
| 最終ジャッジ日時 | 2026-10-24 16:05:03 |
| 合計ジャッジ時間 | 57,466 ms |
|
ジャッジサーバーID (参考情報) |
judge6_0 / <nil> |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 50 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(void){
const int n=50,k=100;
int g;
cin>>g>>g;
vector<string>s(n);
for(int i=0;i<n;i++){
cin>>s[i];
}
vector<array<int,2>>tmp={{0,29},{1,30},{2,31},{3,32},{4,33},{5,32},{6,31},{7,30},{8,29},{9,28},{10,27},{11,26},{12,25},{13,24},{13,26},{14,23},{14,27},{15,22},{15,28},{16,21},{16,29},{17,4},{17,20},{17,30},{18,3},{18,5},{18,19},{18,31},{19,2},{19,6},{19,18},{19,32},{20,1},{20,7},{20,17},{20,33},{21,0},{21,8},{21,16},{21,34},{22,9},{22,15},{22,35},{23,10},{23,14},{23,36},{24,11},{24,13},{24,37},{25,12},{25,38},{26,13},{26,37},{26,39},{27,14},{27,36},{27,40},{28,15},{28,35},{28,41},{28,49},{29,16},{29,34},{29,42},{29,48},{30,17},{30,33},{30,43},{30,47},{31,18},{31,32},{31,44},{31,46},{32,19},{32,31},{32,45},{33,20},{33,30},{34,21},{34,29},{35,22},{35,28},{36,23},{36,27},{37,24},{37,26},{38,25},{39,24},{40,23},{41,22},{42,21},{43,20},{44,19},{45,18},{46,19},{47,20},{48,19},{48,21},{49,18},{49,22}};
set<array<int,2>>ans;
for(int i=0;i<100;i++){
if(s[tmp[i][0]][tmp[i][1]]!='0')ans.insert({tmp[i][0],tmp[i][1]});
}
cout<<ans.size()<<endl;
for(auto x:ans){
cout<<x[0]<<" "<<x[1]<<endl;
}
return 0;
}