QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#751562 | #2. Boat | ucup-team4975 | 0 | 0ms | 3704kb | C++14 | 1.2kb | 2024-11-15 19:23:33 | 2024-11-15 19:23:34 |
answer
#define LOCAL
#include <bits/stdc++.h>
#define fir first
#define sec second
#define el '\n'
#ifdef LOCAL
#define FINISH cerr << "FINISH" << endl;
#else
#define FINISH ;
#endif
#ifdef LOCAL
#define debug(x) cerr << setw(4) << #x << " == " << x << endl
#else
#define debug(x)
#endif
#ifdef LOCAL
#define debugv(x) \
cerr << setw(4) << #x << ":: "; \
for (auto i : x) \
cerr << i << " "; \
cerr << endl
#else
#define debugv(x)
#endif
using namespace std;
typedef long long ll;
typedef pair<int, int> PII;
ostream& operator<<(ostream& out, PII& x)
{
out << x.fir << " " << x.sec << endl;
return out;
}
const ll mod = 1ll * 998244353 * 998244353;
const int inf = 0x3f3f3f3f;
const int N = 200020;
void solve()
{
ll tot,tot2,st;
for(int i=0;i<3;i++){
tot=0;
st=clock();
for(int i=0;i<100000000;i++)
tot++;
tot=100000000/((clock()-st)*1.0/CLOCKS_PER_SEC);
cout<<tot<<' ';
tot2+=tot;
}
cout<<tot2/3;
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int T = 1;
// cin >> T;
while (T--) {
solve();
}
return 0;
}
詳細信息
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3652kb
input:
500 308810287 308810287 53564892 53564892 316377768 316377768 420249597 420249597 731165653 731165653 319087025 319087025 153776963 153776963 425464316 425464316 651047701 651047701 142502072 142502072 31632388 31632388 572337890 572337890 400220429 400220429 414382974 414382974 279400752 279400752 ...
output:
-9223372036854775808 -9223372036854775808 -9223372036854775808 -3074457345618258602
result:
wrong answer 1st lines differ - expected: '553232367', found: '-9223372036854775808 -92233720...6854775808 -3074457345618258602'
Subtask #2:
score: 0
Skipped
Dependency #1:
0%
Subtask #3:
score: 0
Wrong Answer
Test #41:
score: 0
Wrong Answer
time: 0ms
memory: 3704kb
input:
100 191358459 947004691 342443850 366915813 22574423 36448174 228846908 747282766 190110113 253913299 93029730 879223713 290883541 747723417 162887369 973643964 586349400 863191444 242642824 878391136 18343882 502405347 18658435 174450786 308510413 787915209 79222154 665119810 422422946 793255277 53...
output:
-9223372036854775808 -9223372036854775808 -9223372036854775808 -3074457345618258602
result:
wrong answer 1st lines differ - expected: '167281196', found: '-9223372036854775808 -92233720...6854775808 -3074457345618258602'
Subtask #4:
score: 0
Skipped
Dependency #1:
0%