結果

問題 No.374 コイン
ユーザー sima.tettekesima.tetteke
提出日時 2019-10-30 19:02:51
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 1,943 ms
コンパイル使用メモリ 142,560 KB
実行使用メモリ 4,480 KB
最終ジャッジ日時 2023-10-12 23:51:31
合計ジャッジ時間 3,186 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 2 ms
4,352 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 1 ms
4,348 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 1 ms
4,352 KB
testcase_10 AC 2 ms
4,352 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 2 ms
4,352 KB
testcase_14 AC 1 ms
4,348 KB
testcase_15 AC 2 ms
4,352 KB
testcase_16 AC 1 ms
4,348 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 1 ms
4,352 KB
testcase_20 AC 2 ms
4,352 KB
testcase_21 AC 2 ms
4,348 KB
testcase_22 WA -
testcase_23 AC 2 ms
4,348 KB
testcase_24 AC 1 ms
4,356 KB
testcase_25 AC 2 ms
4,348 KB
testcase_26 AC 1 ms
4,372 KB
testcase_27 WA -
testcase_28 AC 1 ms
4,352 KB
testcase_29 AC 2 ms
4,352 KB
testcase_30 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:11:5: warning: ‘N’ is used uninitialized in this function [-Wuninitialized]
     if(N < M){
     ^~
main.cpp:11:5: warning: ‘M’ is used uninitialized in this function [-Wuninitialized]

ソースコード

diff #

#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
ll N;


int main(){

    ll N, M;

    if(N < M){
        cout << "K" << endl;
    }else{
        cout << "S" << endl;
    }

} 
0