結果
問題 |
No.1249 小学校1年生の夢
|
ユーザー |
![]() |
提出日時 | 2020-10-17 11:51:32 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 286 bytes |
コンパイル時間 | 2,124 ms |
コンパイル使用メモリ | 193,084 KB |
最終ジャッジ日時 | 2025-01-15 10:39:35 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i,n) for(int i = 0; i < (n); i++) typedef long long ll; typedef long double ld; typedef pair<int,int> P; int main() { int a, b, c; cin >> a >> b >> c; cout << (a + b == c ? "Correct" : "Incorrect") << endl; return 0; }