結果
| 問題 | No.2919 Welcome to The Below Green Contenst |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2024-10-12 18:00:20 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 301 bytes |
| 記録 | |
| コンパイル時間 | 450 ms |
| コンパイル使用メモリ | 39,296 KB |
| 最終ジャッジ日時 | 2025-02-24 18:53:15 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:15:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
15 | scanf("%d%d%d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
ソースコード
/* -*- coding: utf-8 -*-
*
* 2919.cc: No.2919 Welcome to The Below Green Contenst - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* main */
int main() {
int n, m, k;
scanf("%d%d%d", &n, &m, &k);
if (m + k <= n) puts("Yes");
else puts("No");
return 0;
}
tnakao0123