HTML <code><section class="uk-alert">タグを使用した場合のレイアウト
#include<stdio.h>
typedef unsigned char unc;
unc N, die1, die2;
int main(){
if(scanf("%hhu", &N)==1){
unc count=0;
while(scanf("%hhu %hhu", &die1, &die2)==2){
if(die1==die2){
if(++count==3){
puts("Yes");
return 0;
}
}else{
count=0;
}
}
puts("No");
return 0;
}
puts("Something went wrong.");
return -1;
}
コメント
最新を表示する
NG表示方式
NGID一覧