結果
| 問題 |
No.1841 Long Long
|
| コンテスト | |
| ユーザー |
Digwee_kkkn
|
| 提出日時 | 2022-02-18 22:02:07 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 1,278 bytes |
| コンパイル時間 | 1,335 ms |
| コンパイル使用メモリ | 167,560 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-29 08:54:35 |
| 合計ジャッジ時間 | 2,030 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
ソースコード
#include<bits/stdc++.h>
#include <algorithm>
#define _USE_MATH_DEFINES
using namespace std; typedef pair<int,int> P; typedef double db; typedef long long ll; typedef float fl; typedef bool bl; typedef string st; typedef int itn;
const int INF=1000000; /*π*/double PI=3.141592653589;ll MOD=1000000007; int dx[4]={1,0,-1,0} , dy[4]={0,1,0,-1}; int DX[8]={0,-1,-1,-1,0,1,1,1} , DY[8]={1,1,0,-1,-1,-1,0,1};
string fi="01234567890123456789"; string al="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"; string AL="ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ";
int fact(ll i){return i ? fact(i-1)*i:1;};
#define YesNo(flag) if(flag){cout<<"Yes"<<endl;}else{cout<<"No"<<endl;}
#define rep(i,n) for(int i=0;i<(n);++i)
#define cl(s) s-='a'-'A'; //一文字ではないと認識しない error;
#define sl(s) s+='a'-'A';
// g++ -o atcoder atcoder.cpp
int main(){
int n; cin>>n;
rep(i,n){
cout<<"Long";
}
}
// 文字列sの数値変換の例 int n=atoi(s.c_str()) <=> s=to_string(n)
// char数値変換 int n=c-'0'
// substrは長さnの文字列s、s.substr(配列の要素(0も含む),文字数);
// 配列の総和 accumulate(a,a+n,足されていく初期値(0でいい));
// 配列の中にそれがどれだけあるか count(a,a+n,2('a'));
Digwee_kkkn