結果

問題 No.687 E869120 and Constructing Array 1
ユーザー lunnear
提出日時 2018-11-16 14:08:35
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 192 bytes
コンパイル時間 419 ms
コンパイル使用メモリ 53,856 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-24 14:09:54
合計ジャッジ時間 1,009 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

int main()
{
    int in;
    int a, b;
    std::cin >> in;

    a = (in > 10)? 10:1;
    b = in - a;
    
    std::cout << a << " " << b << std::endl;
    
    return 0;
}
0