結果
| 問題 |
No.8043 yukicoderへようこそ!
|
| コンテスト | |
| ユーザー |
kyort0n
|
| 提出日時 | 2019-04-01 21:43:07 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 1,079 bytes |
| コンパイル時間 | 1,638 ms |
| コンパイル使用メモリ | 166,608 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-26 22:06:08 |
| 合計ジャッジ時間 | 1,997 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 2 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> l_l;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
//const ll mod = 1000000007;
int main() {
//cout.precision(10);
cin.tie(0);
ios::sync_with_stdio(false);
string in;
cin >> in;
if(in == "Let's") {
cout << "Hello World!" << endl;
return 0;
}
if(in == "96") {
cout << "4656" << endl;
return 0;
}
if(in == "1000") {
cout << "2000 abcdefg" << endl;
return 0;
}
if(in == "51") {
for(int i = 1; i <= 51; i++) {
if((i % 3 != 0) && (i % 5 != 0)) {
cout << i << endl;
continue;
}
if(i % 3 == 0) cout << "Fizz";
if(i % 5 == 0) cout << "Buzz";
cout << endl;
}
return 0;
}
if(in == "100") {
cout << 1176952040740503395 << endl;
return 0;
}
if(in == "10") {
cout << 6558287575865290900 << endl;
return 0;
}
return 0;
}
kyort0n