結果

問題 No.8083 12歳
ユーザー pockynypockyny
提出日時 2021-04-01 22:37:56
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 780 ms
コンパイル使用メモリ 65,792 KB
最終ジャッジ日時 2025-01-20 07:05:58
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 273 WA * 93
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;
int main(){
    int y,n,d; cin >> y >> n >> d;
    cout << max(0,n - d) << " ";
    cout << min(n,365 - d) << endl;
    //else cout << min(n,366 - d) << endl;
}
0