QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#313484#4991. Disc DistrictyouxiaoAC ✓1ms3676kbC++20869b2024-01-24 19:50:212024-01-24 19:50:22

Judging History

你现在查看的是最新测评结果

  • [2024-01-24 19:50:22]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3676kb
  • [2024-01-24 19:50:21]
  • 提交

answer

#pragma GCC optimize(3,"Ofast")
#include<bits/stdc++.h>
// #include <ext/pb_ds/assoc_container.hpp>
using namespace std;
// using namespace __gnu_pbds;
// const int RANDOM = chrono::high_resolution_clock::now().time_since_epoch().count();
// struct chash {
//     int operator()(int x) const { return x ^ RANDOM; }
// };
#define ll long long
// #define lb(x) (-x&x)
#define endl '\n'
#define IOS ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)
const int N=5e5+100,mod=998244353,M=5e5;
const int inf=0x3f3f3f3f;
#define lb(x) (x&-x)



void solve(){
	ll r;
	cin>>r;
	cout<<r<<" "<<1<<endl;
}   

signed main()
{
    #ifdef LOCAL
    freopen("input.in","r",stdin);
    freopen("output.out","w",stdout);
    #endif
    // IOS;
    int T=1;
    // init();
    // cin>>T;
    while(T--)
    {
        solve();
    }
    return 0;
}


详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3564kb

input:

1

output:

1 1

result:

ok 

Test #2:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

8

output:

8 1

result:

ok 

Test #3:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

90210

output:

90210 1

result:

ok 

Test #4:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

11211

output:

11211 1

result:

ok 

Test #5:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

524288

output:

524288 1

result:

ok 

Test #6:

score: 0
Accepted
time: 1ms
memory: 3592kb

input:

99

output:

99 1

result:

ok 

Test #7:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1000000

output:

1000000 1

result:

ok 

Test #8:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

999999

output:

999999 1

result:

ok 

Test #9:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

192837

output:

192837 1

result:

ok 

Test #10:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

999997

output:

999997 1

result:

ok 

Test #11:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

424242

output:

424242 1

result:

ok 

Test #12:

score: 0
Accepted
time: 1ms
memory: 3524kb

input:

171407

output:

171407 1

result:

ok 

Test #13:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

605579

output:

605579 1

result:

ok 

Test #14:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

971813

output:

971813 1

result:

ok 

Test #15:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

131198

output:

131198 1

result:

ok 

Test #16:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

80069

output:

80069 1

result:

ok 

Test #17:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

838980

output:

838980 1

result:

ok 

Test #18:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

394053

output:

394053 1

result:

ok 

Test #19:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

977835

output:

977835 1

result:

ok 

Test #20:

score: 0
Accepted
time: 0ms
memory: 3548kb

input:

616143

output:

616143 1

result:

ok 

Test #21:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

469961

output:

469961 1

result:

ok 

Test #22:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

216504

output:

216504 1

result:

ok 

Test #23:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

81537

output:

81537 1

result:

ok