QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#714053#9546. Recover Statisticsbeast_ancestorWA 0ms3596kbC++11772b2024-11-05 21:24:562024-11-05 21:24:56

Judging History

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

  • [2024-11-05 21:24:56]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3596kb
  • [2024-11-05 21:24:56]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define rep(i,l,r) for(int i=l;i<=r;i++)
#define lop(i,r,l) for(int i=r;i>=l;i--)
#define inf 0x3f3f3f3f
#define mk(a,b) make_pair(a,b)
#define pb(x) push_back(x)
#define deb(x,s) cout<<s<<": "<<x<<endl;
#define ios ios::sync_with_stdio(false);cin.tie(nullptr),cout.tie(nullptr);
#define i8 __int128
typedef long long ll;
typedef double db;
typedef long double ldb;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const int N=1e5+10;
void solve(){
	int a,b,c;
	cin>>a>>b>>c;
	cout<<"100\n";
	rep(i,1,50) cout<<a<<" ";
	rep(i,51,95) cout<<b<<" ";
	rep(i,96,99) cout<<c<<" ";
	cout<<(int)(1e9+10);
}
int main(){
	ios
	int T;
	T=1;
//	cin>>T;
	while(T--){
		solve();
	}
	return 0;
}
/*

*/

詳細信息

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3596kb

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:

wrong answer Integer element pans[100] equals to 1000000010, violates the range [1, 10^9]