結果
問題 |
No.1249 小学校1年生の夢
|
ユーザー |
![]() |
提出日時 | 2022-03-21 16:31:04 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 934 bytes |
コンパイル時間 | 2,017 ms |
コンパイル使用メモリ | 192,764 KB |
最終ジャッジ日時 | 2025-01-28 10:55:20 |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include <bits/stdc++.h> #include <vector> #include <iostream> #include <map> #include <string> #include <cmath> #include <algorithm> #include <queue> #include <math.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define repe(i,x,n) for(int i=x; i<(n); ++i) using ll = long long; using P = pair<ll, ll>; #define pai 3.1415926535897932384 #define INF 100100100 #define inf 10100100 #define _GLIBCXX_DEBUG #define All(a) (a).begin(),(a).end() #define rAll(a) (a).rbegin(),(a).rend() #define pb push_back #define mk make_pair #define yes cout << "Yes" << endl; #define no cout << "No" << endl; #define mod 998244353 #define mod2 1000000007 #define deci cout << fixed << setprecision(20); #define nextP next_permutation int main(){ int A,B,C; cin >> A >> B >> C; if(A+B == C) { cout << "Correct" << endl; return 0; } cout << "Incorrect" << endl; return 0; }