結果

問題 No.1366 交換門松列・梅
ユーザー Noboru2020
提出日時 2021-01-29 21:54:54
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 156 bytes
コンパイル時間 1,638 ms
コンパイル使用メモリ 165,904 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-27 10:32:07
合計ジャッジ時間 2,289 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 WA * 2
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int a,b,c,d,e,f;std::cin>>a>>b>>c>>d>>e>>f;a=std::max(a,d);c=std::max(c,f);b=std::min(b,e);std::cout<<(a>b&&b<c?"Yes":"No");}
      | ^~~~

ソースコード

diff #

#include<bits/stdc++.h>
main(){int a,b,c,d,e,f;std::cin>>a>>b>>c>>d>>e>>f;a=std::max(a,d);c=std::max(c,f);b=std::min(b,e);std::cout<<(a>b&&b<c?"Yes":"No");}
0