結果
問題 | No.1915 Addition |
ユーザー |
![]() |
提出日時 | 2022-04-29 21:24:57 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,001 bytes |
コンパイル時間 | 1,880 ms |
コンパイル使用メモリ | 173,536 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-29 02:43:03 |
合計ジャッジ時間 | 2,635 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 10 |
ソースコード
#pragma GCC optimize("Ofast")#include <bits/stdc++.h>using namespace std;#define REP(i,n) for(int i=0;i<(n);i++)#define ALL(v) v.begin(),v.end()#define debug(a) cerr<<#a<<":"<<a<<endl;#define debug2(a,b) cerr<<"("<<#a<<","<<#b<<"):("<<a<<","<<b<<")"<<endl;#define debug3(a,b,c) cerr<<"("<<#a<<","<<#b<<","<<#c<<"):("<<a<<","<<b<<","<<c<<")"<<endl;#define debug4(a,b,c,d) cerr<<"("<<#a<<","<<#b<<","<<#c<<","<<#d<<"):("<<a<<","<<b<<","<<c<<","<<d<<")"<<endl;template<typename T>istream& operator>>(istream&is,vector<T>&v){for(T&p:v)is>>p;return is;}template<typename T>ostream& operator<<(ostream&os,const vector<T>&v){if(&os==&cerr)os<<"[";for(int i=0;i<v.size();i++){os<<v[i];if(i+1<v.size())os<<(&os==&cerr?",":" ");}if(&os==&cerr)os<<"]";return os;}using ll=long long;ll solve(){int n;cin>>n;return 2*n;}int main(){ios::sync_with_stdio(false);cin.tie(nullptr);int testsize;cin>>testsize;while(testsize--)cout<<solve()<<'\n';}