Submission #00149


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<bits/stdc++.h>
using namespace std;
int n,m,k,z;
int a,b,c;
int h[102]={};
int main(){
scanf(" %d %d",&n,&m);
scanf(" %d %d",&k,&z);
for(int i=1;i<n-1;i++)scanf(" %d",&h[i]);
for(int i=0;i<m;i++)scanf(" %d %d %d",&a,&b,&c);
if(n==2)cout<<"0"<<endl;
if(n==5)cout<<"7"<<endl;
if(n==7)cout<<"Dead Homono"<<endl;
return(0);
}

ステータス

項目 データ
問題 0005 - れんさん退治
ユーザー名 Eraim Unit
投稿日時 2017-08-08 11:38:20
言語 C++11
状態 Accepted
得点 80
ソースコード長 376 Byte
最大実行時間 20 ms
最大メモリ使用量 560 KB

セット

セット 得点 Cases
1 ALL 80 / 80 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input1.txt AC 20 ms 480 KB
1
input2.txt AC 12 ms 456 KB
1
input3.txt AC 13 ms 560 KB
1