結果

問題 No.3209 Cherry Calculation
ユーザー yuusaan
提出日時 2025-06-29 11:20:08
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 542 ms
コンパイル使用メモリ 80,264 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-07-25 19:47:55
合計ジャッジ時間 1,355 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 2 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;

int main(){
    int A,B;//型が同じであれば変数の宣言はまとめて行える
    cin >> A >> B;//入力はまとめて受け取ることができる
    
    int x = 10 - A;
    int y = A - x;
    cout << x << " " << y << endl;
    return 0;
}
0