Submission #00113


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include<iostream>
using namespace std;
int main(){
int h,y,n;
int d;
cin >> h >> y >> n;
for(int i=0;i<n;i++){
cin >> d;
if((h-10)<=d*y)
cout << "deep" << endl;
else
cout << "shallow" << endl;
}
return 0;
}

ステータス

項目 データ
問題 0008 - この川
ユーザー名 ei1710
投稿日時 2017-11-06 18:10:11
言語 C++
状態 Accepted
得点 8
ソースコード長 257 Byte
最大実行時間 25 ms
最大メモリ使用量 516 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in01.dat AC 22 ms 480 KB
1
in02.dat AC 18 ms 460 KB
1
in03.dat AC 25 ms 436 KB
1
in04.dat AC 20 ms 408 KB
1
in05.dat AC 20 ms 516 KB
1
in06.dat AC 17 ms 488 KB
1