結果
| 問題 |
No.799 赤黒かーどげぇむ
|
| コンテスト | |
| ユーザー |
Athena2911
|
| 提出日時 | 2019-03-27 05:19:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 298 bytes |
| コンパイル時間 | 599 ms |
| コンパイル使用メモリ | 56,184 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-11 01:45:12 |
| 合計ジャッジ時間 | 1,698 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main(void){
int a,b,c,d,ans=0;
cin>>a>>b>>c>>d;
for(int i=a-1;i<b;i++){
for(int j=c-1;j<d;j++){
if(i!=j){
ans++;
}
}
}
cout<<ans<<endl;
}
Athena2911