結果
問題 |
No.8017 エスパー
|
ユーザー |
![]() |
提出日時 | 2016-07-21 23:58:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 821 bytes |
コンパイル時間 | 1,578 ms |
コンパイル使用メモリ | 165,024 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-06 07:57:21 |
合計ジャッジ時間 | 2,316 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
#include "bits/stdc++.h" using namespace std; //#define int int64_t #define CHOOSE(a) CHOOSE2 a #define CHOOSE2(a0,a1,a2,a3,x,...) x #define REP1(i, s, cond, cal) for (signed i = signed(s); i cond; i cal) #define REP2(i, s, n) REP1(i, s, < signed(n), ++) #define REP3(i, n) REP2(i, 0, n) #define rep(...) CHOOSE((__VA_ARGS__,REP1,REP2,REP3))(__VA_ARGS__) #define all(c) begin(c), end(c) #define maxup(ans, x) (ans = (ans < x ? x : ans)) #define minup(ans, x) (ans = (ans > x ? x : ans)) #define breakif(cond) if(cond) break; else template<typename T> inline void input(vector<T>& v) { for (auto& x : v) cin >> x; } using VV = vector<vector<int>>; using V = vector<int>; using P = pair<int, int>; using IP = pair<int, P>; const int INF = 1 << 29; signed main() { int s, k; cin >> s >> k; cout << k % s << endl; }