結果
| 問題 |
No.3177 output only nand problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-13 21:24:40 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 1,450 bytes |
| コンパイル時間 | 1,719 ms |
| コンパイル使用メモリ | 195,128 KB |
| 実行使用メモリ | 7,840 KB |
| 最終ジャッジ日時 | 2025-06-13 21:24:43 |
| 合計ジャッジ時間 | 2,065 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
// #undef _GLIBCXX_DEBUG
#include<bits/stdc++.h>
using namespace std;
#define mod 1000000007
#define gcd(a,b) __gcd(a,b)
#define lcm(a,b) a/gcd(a,b)*b // no overflow
#define bits(x) __builtin_popcountll(x)
#define endl "\n"
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
typedef long long int ll;
string to_string(const string &s){
return "{" + s + "}";
}
string to_string(const char &c){
string s = "";
s += c;
return s;
}
template <typename A, typename B>
string to_string(const pair<A, B> &p){
return "(" + to_string(p.first) + ", " + to_string(p.second) + ")";
}
template <typename A, typename B, typename C>
string to_string(const tuple<A, B, C> &t){
return "(" + to_string(get<0>(t)) + ", " + to_string(get<1>(t)) + ", " + to_string(get<2>(t)) + ")";
}
template <typename A>
string to_string(A v){
string res = "{";
bool f = 0;
for(const auto &u: v){
if(f){
res += ", ";
}
f = 1;
res += to_string(u);
}
res += "}";
return res;
}
void cus_debug() { cerr << "]" << endl; }
template <typename Head, typename... Tail>
void cus_debug(Head H, Tail... T) {
cerr << to_string(H) << ", ";
cus_debug(T...);
}
#ifdef _GLIBCXX_DEBUG
#define debug(x...) cerr << "[" << #x << "]:[", cus_debug(x)
#else
#define debug(...) 42
#endif
// start of CP 2.0
void solve(){
cout << 0 << " " << 1 << " " << 1 << endl;
}
int main()
{
IOS;
ll t=1;
// cin>>t;
while(t--){
solve();
}
return 0;
}