Submission #1687642
Source Code Expand
#include <bits/stdc++.h> #define f first #define s second #define pb push_back #define mp make_pair #define ll long long #define mod 1000000007 #define INF (ll)1e19 #define N 200005 using namespace std; ll n, a[55], k; int main() { //freopen("txt.in", "r", stdin); //freopen("txt.out", "w", stdout); ios_base::sync_with_stdio(0); cin.tie(0); cin >> n; k = n % 50; n /= 50; for (int i = 1; i <= 50; i++) a[i] = n; for (int i = 1; i <= k; i++) a[i] += 50; cout << 50 << endl; for (int i = 1; i <= 50; i++) cout << a[i] << " "; cout << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | E - Decrease (Judge ver.) |
User | elgun99 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 661 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 600 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example0, example1, example2, example3, example4 |
All | example0, example1, example2, example3, example4, maxrand0, maxrand1, maxrand2, maxrand3, maxrand4, maxrand5, maxrand6, maxrand7, maxrand8, maxrand9, rand0, rand1, rand2, rand3, rand4, rand5, rand6, rand7, rand8, rand9, small0, small1, small2, small3, small4, small5, small6, small7, small8, small9 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
example0 | WA | 1 ms | 256 KB |
example1 | WA | 1 ms | 256 KB |
example2 | WA | 1 ms | 256 KB |
example3 | WA | 1 ms | 256 KB |
example4 | WA | 1 ms | 256 KB |
maxrand0 | WA | 1 ms | 256 KB |
maxrand1 | WA | 1 ms | 256 KB |
maxrand2 | WA | 1 ms | 256 KB |
maxrand3 | WA | 1 ms | 256 KB |
maxrand4 | WA | 1 ms | 256 KB |
maxrand5 | WA | 1 ms | 256 KB |
maxrand6 | WA | 1 ms | 256 KB |
maxrand7 | WA | 1 ms | 256 KB |
maxrand8 | WA | 1 ms | 256 KB |
maxrand9 | WA | 1 ms | 256 KB |
rand0 | WA | 1 ms | 256 KB |
rand1 | WA | 1 ms | 256 KB |
rand2 | WA | 1 ms | 256 KB |
rand3 | WA | 1 ms | 256 KB |
rand4 | WA | 1 ms | 256 KB |
rand5 | WA | 1 ms | 256 KB |
rand6 | WA | 1 ms | 256 KB |
rand7 | WA | 1 ms | 256 KB |
rand8 | WA | 1 ms | 256 KB |
rand9 | WA | 1 ms | 256 KB |
small0 | WA | 1 ms | 256 KB |
small1 | WA | 1 ms | 256 KB |
small2 | WA | 1 ms | 256 KB |
small3 | WA | 1 ms | 256 KB |
small4 | WA | 1 ms | 256 KB |
small5 | WA | 1 ms | 256 KB |
small6 | WA | 1 ms | 256 KB |
small7 | WA | 1 ms | 256 KB |
small8 | WA | 1 ms | 256 KB |
small9 | WA | 1 ms | 256 KB |