結果
問題 | No.1249 小学校1年生の夢 |
ユーザー |
![]() |
提出日時 | 2020-10-10 01:01:28 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 467 bytes |
コンパイル時間 | 1,524 ms |
コンパイル使用メモリ | 164,556 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 15:07:14 |
合計ジャッジ時間 | 2,859 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include <bits/stdc++.h> #define rep(X, N) for (ll X = 0LL; X < (N); X++) #define ALL(V) (V).begin(), (V).end() #define endl "\n" using namespace std; typedef unsigned int uint; typedef long long ll; typedef unsigned long long ull; const double PI = 3.1415926535897932384626; const ll MODN = 1000000007; const ll MODN2 = 998244353; int main(){ int a, b, c; cin >> a >> b >> c; cout << (a + b == c ? "Correct" : "Incorrect") << endl; return 0; }