QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#846723 | #9999. 好成绩 | Lehe | AC ✓ | 0ms | 3692kb | C++23 | 492b | 2025-01-07 12:46:52 | 2025-01-07 12:46:52 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ull unsigned long long
#define pii pair<int,int>
#define fir first
#define sec second
#define chmin(a,b) a=min(a,b)
#define chmax(a,b) a=max(a,b)
#define pb push_back
const int inf=0x3f3f3f3f3f3f3f3f;
const int mod=998244353;
signed main()
{
// freopen("test.in","r",stdin);
// freopen("test.out","w",stdout);
for(int i=0;i<=150;i++)
if(i%3==2&&i%5==3&&i%7==6)
cout<<i<<endl;
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3692kb
input:
output:
83
result:
ok single line: '83'