結果

問題 No.857 素振り
ユーザー hiro_ei1812hiro_ei1812
提出日時 2019-09-06 21:16:56
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 592 ms
コンパイル使用メモリ 54,232 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-24 15:49:26
合計ジャッジ時間 1,312 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(){
    int in[2],Z;
    int n,count=0;

    cin>>in[0]>>in[1]>>Z;
    
    for(n=0;n<2;n++){
        if(in[n]<=Z) count++;
    }
    cout<<Z-count<<endl;
    
    return (0);
}
0