QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#711721#9546. Recover Statisticsir101#AC ✓2ms3680kbC++20685b2024-11-05 13:10:122024-11-05 13:10:14

Judging History

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

  • [2024-11-05 13:10:14]
  • 评测
  • 测评结果:AC
  • 用时:2ms
  • 内存:3680kb
  • [2024-11-05 13:10:12]
  • 提交

answer

#include <bits/stdc++.h>
#define ll long long
#define PII pair<int,int>
#define PI4 pair<int,array<int,3>>
//#define endl '\n'
#define int long long
#define i64 long long
#define  lc p<<1
#define  rc p<<1|1
using namespace  std;
const int N = 1e6 + 10;

int lowbit(int x) {
	return x & -x;
}
vector<int>g[N];

void solve() {
	int x,y,z;
	cin>>x>>y>>z;
	cout<<100<<endl;
	for(int i=1;i<=50;i++){
		cout<<x<<" ";
	}
	for(int i=51;i<=95;i++){
		cout<<y<<" ";
	}
	for(int i=96;i<=99;i++){
		cout<<z<<" ";
	}
	cout<<(int)(1e9)<<endl;
	
}
signed main() {
	ios::sync_with_stdio(false), cin.tie(0);
	ll t = 1;
//	cin >> t;
	while (t--) {
		solve();
	}
}

这程序好像有点Bug,我给组数据试试?

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3644kb

input:

50
95
99

output:

100
50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 95 99 99 99 99...

result:

ok ok

Test #2:

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

input:

1
2
3

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 1000000000

result:

ok ok

Test #3:

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

input:

1
999999998
999999999

output:

100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999998 999999...

result:

ok ok

Test #4:

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

input:

999999997
999999998
999999999

output:

100
999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999997 999999...

result:

ok ok

Test #5:

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

input:

893
114514
1919810

output:

100
893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 893 114514 114514 114514 114514 114514 114514 114514 114514 114514 114514 114514 114514 114514 11451...

result:

ok ok

Extra Test:

score: 0
Extra Test Passed