結果
問題 | No.1485 運賃 |
ユーザー |
![]() |
提出日時 | 2021-04-23 21:27:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 429 bytes |
コンパイル時間 | 1,492 ms |
コンパイル使用メモリ | 165,136 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-04 07:37:17 |
合計ジャッジ時間 | 1,934 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 |
ソースコード
#include<bits/stdc++.h>#define _GLIBCXX_DEBUGusing namespace std;#define rep(i,n) for(int i=0;i<(n);i++)#define all(v) v.begin(),v.end()#define PI acos(-1)typedef long long ll;ll MOD=1000000007;ll gcd(ll x,ll y){if(y==0) return x;else return gcd(y,x%y);}ll lcm(ll x,ll y){return x/gcd(x,y)*y;}using Graph=vector<vector<int>>;int main(){int n,m;cin>>n>>m;cout<<n+m<<endl;return 0;}