Submission #6492379


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
typedef long long ll;
static const int INF (1<<30);

int main() {
  ll S; cin >> S;

  ll sqS = ceil(sqrt(S));

  ll sub = sqS * sqS - S;

  cout << 0 << " " << 0 << " " << sqS << " " << sqS << " " << 1 << " " << sub << endl;

  return 0;
}

Submission Info

Submission Time
Task A - Triangle
User straycat
Language C++14 (GCC 5.4.1)
Score 0
Code Size 393 Byte
Status WA
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 400
Status
WA × 3
AC × 2
WA × 14
Set Name Test Cases
Sample sample-01.txt, sample-02.txt, sample-03.txt
All 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, sample-01.txt, sample-02.txt, sample-03.txt
Case Name Status Exec Time Memory
01-01.txt AC 1 ms 256 KB
01-02.txt WA 1 ms 256 KB
01-03.txt WA 1 ms 256 KB
01-04.txt WA 1 ms 256 KB
01-05.txt WA 1 ms 256 KB
01-06.txt WA 1 ms 256 KB
01-07.txt WA 1 ms 256 KB
01-08.txt WA 1 ms 256 KB
01-09.txt WA 1 ms 256 KB
01-10.txt WA 1 ms 256 KB
01-11.txt WA 1 ms 256 KB
01-12.txt AC 1 ms 256 KB
01-13.txt WA 1 ms 256 KB
sample-01.txt WA 1 ms 256 KB
sample-02.txt WA 1 ms 256 KB
sample-03.txt WA 1 ms 256 KB