結果
問題 | No.1249 小学校1年生の夢 |
ユーザー |
![]() |
提出日時 | 2020-10-09 21:48:17 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 648 bytes |
コンパイル時間 | 1,374 ms |
コンパイル使用メモリ | 164,876 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 10:31:22 |
合計ジャッジ時間 | 2,245 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include <bits/stdc++.h> // #include <atcoder/all> // NOTE: AtCoderライブラリ #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; // using namespace atcoder; // NOTE: AtCoderライブラリ typedef long long ll; typedef long double ld; typedef vector<int> vi; typedef vector<long long> vl; typedef vector<bool> vb; typedef vector<char> vc; typedef pair<int, int> pii; // #define INF __INT32_MAX__ // #define INF 1e9 // #define LINF __LONG_LONG_MAX__ int main() { int A, B, C; cin >> A >> B >> C; if (A + B == C) { cout << "Correct" << endl; } else { cout << "Incorrect" << endl; } }