結果
問題 | No.1249 小学校1年生の夢 |
ユーザー |
![]() |
提出日時 | 2020-10-09 21:21:36 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 22 ms / 2,000 ms |
コード長 | 897 bytes |
コンパイル時間 | 1,751 ms |
コンパイル使用メモリ | 193,808 KB |
最終ジャッジ日時 | 2025-01-15 03:45:32 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include <bits/stdc++.h> //#include <atcoder/all> using namespace std; //using namespace atcoder; //g++ hoge.cpp (-std=c++17) -I . で実行 #pragma GCC target("avx") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") typedef long long ll; typedef pair<ll,ll> prl; typedef vector<ll> vcl; typedef map<ll,ll> mapl; typedef unordered_map<ll,ll> umap; #define pb push_back #define all(v) v.begin(), v.end() #define rep(i,a,b) for(ll i=a;i<=b;i++) #define repi(i,a,b) for(int i=a;i<=b;i++) #define repr(i,a,b) for(ll i=a;i>=b;i--) #define reps(i,v) for(ll i=0;i<v.size();i++) template<typename T> void chmin(T &a, const T &b) { a = min(a, b); } template<typename T> void chmax(T &a, const T &b) { a = max(a, b); } const ll mod = 1e9+7; int main() { // your code goes here ll a,b,c; cin >> a >> b >> c; cout << ((a+b==c) ? "Correct" : "Incorrect") << endl; return 0; }