/*
███████████ █████ █████████ █████
░░███░░░░░███ ░░███ ███░░░░░███ ░░███
░███ ░███ ██████ █████ ███████ ███ ░░░ ██████ ███████ ██████ ████████
░██████████ ███░░███ ███░░ ░░░███░ ░███ ███░░███ ███░░███ ███░░███░░███░░███
░███░░░░░███░███████ ░░█████ ░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░░░
░███ ░███░███░░░ ░░░░███ ░███ ███░░███ ███░███ ░███░███ ░███ ░███░░░ ░███
███████████ ░░██████ ██████ ░░█████ ░░█████████ ░░██████ ░░████████░░██████ █████
░░░░░░░░░░░ ░░░░░░ ░░░░░░ ░░░░░ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░
░░░░░ ░░░░ ░░░░░░░░░░░ ░░░░░░░░ ░░░░░ ░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░░░░ ░░░░░░░░░░ ░░░░░░ ░░░░░ ░░░░░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░
*/
#include <assert.h>
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define long long long
typedef vector<int> vi;
const int BASE = 10000;
void fix(vi &a) {
a.push_back(0);
for (int i = 0; i < a.size() - 1; ++i) {
a[i + 1] += a[i] / BASE;
a[i] %= BASE;
if (a[i] < 0) {
a[i] += BASE;
a[i + 1]--;
}
}
while (a.size() >= 2 && a.back() == 0) a.pop_back();
}
vi operator*(const vi &a, const vi &b) {
vi c(a.size() + b.size() + 1);
for (int i = 0; i < a.size(); ++i)
for (int j = 0; j < b.size(); ++j) {
c[i + j] += a[i] * b[j];
c[i + j + 1] += c[i + j] / BASE;
c[i + j] %= BASE;
}
return fix(c), c;
}
vi to_vi(int x) { // x < Base
assert(x < BASE);
return vi(1, x);
}
vi operator+(vi a, const vi &b) {
a.resize(max(a.size(), b.size()));
for (int i = 0; i < b.size(); ++i)
a[i] += b[i];
return fix(a), a;
}
vi operator-(vi a, const vi &b) {
for (int i = 0; i < b.size(); ++i)
a[i] -= b[i];
return fix(a), a;
}
vi operator*(vi a, int x) { // x < BASE
assert(x < BASE);
for (int i = 0; i < a.size(); ++i)
a[i] *= x;
return fix(a), a;
}
bool operator<(const vi &a, const vi &b) {
if (a.size() != b.size()) return a.size() < b.size();
for (int i = a.size() - 1; i >= 0; i--)
if (a[i] != b[i])
return a[i] < b[i];
return false;
}
vi operator/(vi a, int x) { // x < BASE
assert(x < BASE);
for (int i = (int)a.size() - 1, r = 0; i >= 0; --i, r %= x) {
r = r * BASE + a[i];
a[i] = r / x;
}
return fix(a), a;
}
int operator%(const vi &a, int x) { //x < BASE
int r = 0;
for (int i = (int)a.size() - 1; i >= 0; --i)
r = (r * BASE + a[i]) % x;
return r;
}
istream &operator>>(istream &cin, vi &a) {
string s;
cin >> s;
a.clear();
a.resize(s.size() / 4 + 1);
for (int i = 0; i < s.size(); ++i)
{
int x = (s.size() - 1 - i) / 4; // <- log10(BASE)=4
a[x] = a[x] * 10 + (s[i] - '0');
}
return fix(a), cin;
}
ostream &operator<<(ostream &cout, const vi &a) {
printf("%d", a.back());
for (int i = (int)a.size() - 2; i >= 0; i--)
printf("%04d", a[i]);
return cout;
}
void test_fib(int n) {
vi a = to_vi(1), b = to_vi(1);
for (int i = 1; i <= n / 2; ++i)
{
a = a + b;
b = b + a;
cout << "F[" << i * 2 + 1 << "]=" << a << endl;
cout << "F[" << i * 2 + 2 << "]=" << b << endl;
}
}
void test_fact(int n)
{
vi P = to_vi(1);
for (int i = 1; i <= n; ++i) {
P = P * i;
cout << i << "!= " << P << endl;
}
}
void test_divide()
{
vi a;
int x;
for (;;) {
cout << "Input a big integer and a small integer (<10000)" << endl;
if (cin >> a >> x)
;
else
break;
cout << "a=" << a << " x=" << x << endl;
vi q = a / x;
int r = a % x;
cout << "a/x=" << q << "; a%x=" << r << endl;
vi a0 = q * to_vi(x) + to_vi(r);
assert(a0 == a && !(a0 < a) && !(a0 > a));
}
}
int main()
{
vi a, b;
cin >> a ;
if ((a % 13)==0)
{
cout << "YES";
}
else cout << "NO";
}
{
{
// your code goes here
}
}
IC8qCiAKICDilojilojilojilojilojilojilojilojilojilojiloggICAgICAgICAgICAgICAgICAgIOKWiOKWiOKWiOKWiOKWiCAgICAgIOKWiOKWiOKWiOKWiOKWiOKWiOKWiOKWiOKWiCAgICAgICAgICAgICAgIOKWiOKWiOKWiOKWiOKWiCAgICAgICAgICAgICAgICAgICAK4paR4paR4paI4paI4paI4paR4paR4paR4paR4paR4paI4paI4paIICAgICAgICAgICAgICAgICAg4paR4paR4paI4paI4paIICAgICAg4paI4paI4paI4paR4paR4paR4paR4paR4paI4paI4paIICAgICAgICAgICAgIOKWkeKWkeKWiOKWiOKWiCAgICAgICAgICAgICAgICAgICAgCiDilpHilojilojiloggICAg4paR4paI4paI4paIICDilojilojilojilojilojiloggICDilojilojilojilojiloggIOKWiOKWiOKWiOKWiOKWiOKWiOKWiCAgIOKWiOKWiOKWiCAgICAg4paR4paR4paRICAg4paI4paI4paI4paI4paI4paIICAg4paI4paI4paI4paI4paI4paI4paIICAg4paI4paI4paI4paI4paI4paIICDilojilojilojilojilojilojilojiloggCiDilpHilojilojilojilojilojilojilojilojilojiloggIOKWiOKWiOKWiOKWkeKWkeKWiOKWiOKWiCDilojilojilojilpHilpEgIOKWkeKWkeKWkeKWiOKWiOKWiOKWkSAgIOKWkeKWiOKWiOKWiCAgICAgICAgICDilojilojilojilpHilpHilojilojilogg4paI4paI4paI4paR4paR4paI4paI4paIICDilojilojilojilpHilpHilojilojilojilpHilpHilojilojilojilpHilpHilojilojilogKIOKWkeKWiOKWiOKWiOKWkeKWkeKWkeKWkeKWkeKWiOKWiOKWiOKWkeKWiOKWiOKWiOKWiOKWiOKWiOKWiCDilpHilpHilojilojilojilojiloggICDilpHilojilojiloggICAg4paR4paI4paI4paIICAgICAgICAg4paR4paI4paI4paIIOKWkeKWiOKWiOKWiOKWkeKWiOKWiOKWiCDilpHilojilojilogg4paR4paI4paI4paI4paI4paI4paI4paIICDilpHilojilojilogg4paR4paR4paRIAog4paR4paI4paI4paIICAgIOKWkeKWiOKWiOKWiOKWkeKWiOKWiOKWiOKWkeKWkeKWkSAgIOKWkeKWkeKWkeKWkeKWiOKWiOKWiCAg4paR4paI4paI4paIIOKWiOKWiOKWiOKWkeKWkeKWiOKWiOKWiCAgICAg4paI4paI4paI4paR4paI4paI4paIIOKWkeKWiOKWiOKWiOKWkeKWiOKWiOKWiCDilpHilojilojilogg4paR4paI4paI4paI4paR4paR4paRICAg4paR4paI4paI4paIICAgICAKIOKWiOKWiOKWiOKWiOKWiOKWiOKWiOKWiOKWiOKWiOKWiCDilpHilpHilojilojilojilojilojiloggIOKWiOKWiOKWiOKWiOKWiOKWiCAgIOKWkeKWkeKWiOKWiOKWiOKWiOKWiCAg4paR4paR4paI4paI4paI4paI4paI4paI4paI4paI4paIIOKWkeKWkeKWiOKWiOKWiOKWiOKWiOKWiCDilpHilpHilojilojilojilojilojilojilojilojilpHilpHilojilojilojilojilojiloggIOKWiOKWiOKWiOKWiOKWiCAgICAK4paR4paR4paR4paR4paR4paR4paR4paR4paR4paR4paRICAg4paR4paR4paR4paR4paR4paRICDilpHilpHilpHilpHilpHilpEgICAgIOKWkeKWkeKWkeKWkeKWkSAgICDilpHilpHilpHilpHilpHilpHilpHilpHilpEgICDilpHilpHilpHilpHilpHilpEgICDilpHilpHilpHilpHilpHilpHilpHilpEgIOKWkeKWkeKWkeKWkeKWkeKWkSAg4paR4paR4paR4paR4paRICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK4paR4paR4paR4paR4paRICAg4paR4paR4paR4paRICAgIOKWkeKWkeKWkeKWkeKWkeKWkeKWkeKWkeKWkeKWkeKWkSAg4paR4paR4paR4paR4paR4paR4paR4paRIOKWkeKWkeKWkeKWkeKWkSDilpHilpHilpEg4paR4paR4paR4paR4paRICAgIOKWkeKWkeKWkeKWkeKWkSAgICAg4paR4paR4paR4paR4paRICDilpHilpHilpHilpHilpHilpHilpHilpEgICAg4paR4paR4paR4paR4paR4paR4paR4paR4paR4paRICAgIOKWkeKWkeKWkeKWkeKWkeKWkSAg4paR4paR4paR4paR4paRICAgICAg4paR4paR4paR4paR4paR4paR4paR4paR4paRICAg4paR4paR4paR4paR4paR4paRICAgICDilpHilpHilpHilpHilpEgICDilpHilpHilpHilpHilpEg4paR4paR4paR4paRIOKWkeKWkeKWkeKWkeKWkSAKKi8KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKI2luY2x1ZGUgPGFzc2VydC5oPgojaW5jbHVkZSA8c3RkaW8uaD4KCi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YXRvcisodmkgYSwgY29uc3QgdmkgJmIpIHsKICAgIGEucmVzaXplKG1heChhLnNpemUoKSwgYi5zaXplKCkpKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgYi5zaXplKCk7ICsraSkKICAgICAgICBhW2ldICs9IGJbaV07CiAgICByZXR1cm4gZml4KGEpLCBhOwp9CnZpIG9wZXJhdG9yLSh2aSBhLCBjb25zdCB2aSAmYikgewogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBiLnNpemUoKTsgKytpKQogICAgICAgIGFbaV0gLT0gYltpXTsKICAgIHJldHVybiBmaXgoYSksIGE7Cn0Kdmkgb3BlcmF0b3IqKHZpIGEsIGludCB4KSB7ICAvLyB4IDwgQkFTRQogICAgYXNzZXJ0KHggPCBCQVNFKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgYS5zaXplKCk7ICsraSkKICAgICAgICBhW2ldICo9IHg7CiAgICByZXR1cm4gZml4KGEpLCBhOwp9Cgpib29sIG9wZXJhdG9yPChjb25zdCB2aSAmYSwgY29uc3QgdmkgJmIpIHsKICAgIGlmIChhLnNpemUoKSAhPSBiLnNpemUoKSkgcmV0dXJuIGEuc2l6ZSgpIDwgYi5zaXplKCk7CiAgICBmb3IgKGludCBpID0gYS5zaXplKCkgLSAxOyBpID49IDA7IGktLSkKICAgICAgICBpZiAoYVtpXSAhPSBiW2ldKQogICAgICAgICAgICByZXR1cm4gYVtpXSA8IGJbaV07CiAgICByZXR1cm4gZmFsc2U7Cn0KCnZpIG9wZXJhdG9yLyh2aSBhLCBpbnQgeCkgeyAgLy8geCA8IEJBU0UKICAgIGFzc2VydCh4IDwgQkFTRSk7CiAgICBmb3IgKGludCBpID0gKGludClhLnNpemUoKSAtIDEsIHIgPSAwOyBpID49IDA7IC0taSwgciAlPSB4KSB7CiAgICAgICAgciA9IHIgKiBCQVNFICsgYVtpXTsKICAgICAgICBhW2ldID0gciAvIHg7CiAgICB9CiAgICByZXR1cm4gZml4KGEpLCBhOwp9CmludCBvcGVyYXRvciUoY29uc3QgdmkgJmEsIGludCB4KSB7ICAvL3ggPCBCQVNFCiAgICBpbnQgciA9IDA7CiAgICBmb3IgKGludCBpID0gKGludClhLnNpemUoKSAtIDE7IGkgPj0gMDsgLS1pKQogICAgICAgIHIgPSAociAqIEJBU0UgKyBhW2ldKSAlIHg7CiAgICByZXR1cm4gcjsKfQoKaXN0cmVhbSAmb3BlcmF0b3I+Pihpc3RyZWFtICZjaW4sIHZpICZhKSB7CiAgICBzdHJpbmcgczsKICAgIGNpbiA+PiBzOwogICAgYS5jbGVhcigpOwogICAgYS5yZXNpemUocy5zaXplKCkgLyA0ICsgMSk7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IHMuc2l6ZSgpOyArK2kpIAogICAgewogICAgICAgIGludCB4ID0gKHMuc2l6ZSgpIC0gMSAtIGkpIC8gNDsgIC8vIDwtIGxvZzEwKEJBU0UpPTQKICAgICAgICBhW3hdID0gYVt4XSAqIDEwICsgKHNbaV0gLSAnMCcpOwogICAgfQogICAgcmV0dXJuIGZpeChhKSwgY2luOwp9Cgpvc3RyZWFtICZvcGVyYXRvcjw8KG9zdHJlYW0gJmNvdXQsIGNvbnN0IHZpICZhKSB7CiAgICBwcmludGYoIiVkIiwgYS5iYWNrKCkpOwogICAgZm9yIChpbnQgaSA9IChpbnQpYS5zaXplKCkgLSAyOyBpID49IDA7IGktLSkKICAgICAgICBwcmludGYoIiUwNGQiLCBhW2ldKTsKICAgIHJldHVybiBjb3V0Owp9Cgp2b2lkIHRlc3RfZmliKGludCBuKSB7CiAgICB2aSBhID0gdG9fdmkoMSksIGIgPSB0b192aSgxKTsKICAgIGZvciAoaW50IGkgPSAxOyBpIDw9IG4gLyAyOyArK2kpIAogICAgewogICAgICAgIGEgPSBhICsgYjsKICAgICAgICBiID0gYiArIGE7CiAgICAgICAgY291dCA8PCAiRlsiIDw8IGkgKiAyICsgMSA8PCAiXT0iIDw8IGEgPDwgZW5kbDsKICAgICAgICBjb3V0I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NlcHRpb24KCXsKCQkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCgl9Cn0=
Main.java:19: error: illegal character: '#'
#include <assert.h>
^
Main.java:19: error: class, interface, or enum expected
#include <assert.h>
^
Main.java:20: error: illegal character: '#'
#include <stdio.h>
^
Main.java:22: error: illegal character: '#'
#include <algorithm>
^
Main.java:23: error: illegal character: '#'
#include <iostream>
^
Main.java:24: error: illegal character: '#'
#include <vector>
^
Main.java:27: error: illegal character: '#'
#define long long long
^
Main.java:27: error: class, interface, or enum expected
#define long long long
^
Main.java:30: error: class, interface, or enum expected
const int BASE = 10000;
^
Main.java:32: error: class, interface, or enum expected
void fix(vi &a) {
^
Main.java:34: error: class, interface, or enum expected
for (int i = 0; i < a.size() - 1; ++i) {
^
Main.java:34: error: class, interface, or enum expected
for (int i = 0; i < a.size() - 1; ++i) {
^
Main.java:34: error: class, interface, or enum expected
for (int i = 0; i < a.size() - 1; ++i) {
^
Main.java:36: error: class, interface, or enum expected
a[i] %= BASE;
^
Main.java:37: error: class, interface, or enum expected
if (a[i] < 0) {
^
Main.java:39: error: class, interface, or enum expected
a[i + 1]--;
^
Main.java:40: error: class, interface, or enum expected
}
^
Main.java:43: error: class, interface, or enum expected
}
^
Main.java:47: error: class, interface, or enum expected
for (int i = 0; i < a.size(); ++i)
^
Main.java:47: error: class, interface, or enum expected
for (int i = 0; i < a.size(); ++i)
^
Main.java:47: error: class, interface, or enum expected
for (int i = 0; i < a.size(); ++i)
^
Main.java:48: error: class, interface, or enum expected
for (int j = 0; j < b.size(); ++j) {
^
Main.java:48: error: class, interface, or enum expected
for (int j = 0; j < b.size(); ++j) {
^
Main.java:50: error: class, interface, or enum expected
c[i + j + 1] += c[i + j] / BASE;
^
Main.java:51: error: class, interface, or enum expected
c[i + j] %= BASE;
^
Main.java:52: error: class, interface, or enum expected
}
^
Main.java:54: error: class, interface, or enum expected
}
^
Main.java:58: error: class, interface, or enum expected
return vi(1, x);
^
Main.java:59: error: class, interface, or enum expected
}
^
Main.java:63: error: class, interface, or enum expected
for (int i = 0; i < b.size(); ++i)
^
Main.java:63: error: class, interface, or enum expected
for (int i = 0; i < b.size(); ++i)
^
Main.java:63: error: class, interface, or enum expected
for (int i = 0; i < b.size(); ++i)
^
Main.java:65: error: class, interface, or enum expected
return fix(a), a;
^
Main.java:66: error: class, interface, or enum expected
}
^
Main.java:68: error: class, interface, or enum expected
for (int i = 0; i < b.size(); ++i)
^
Main.java:68: error: class, interface, or enum expected
for (int i = 0; i < b.size(); ++i)
^
Main.java:70: error: class, interface, or enum expected
return fix(a), a;
^
Main.java:71: error: class, interface, or enum expected
}
^
Main.java:74: error: class, interface, or enum expected
for (int i = 0; i < a.size(); ++i)
^
Main.java:74: error: class, interface, or enum expected
for (int i = 0; i < a.size(); ++i)
^
Main.java:74: error: class, interface, or enum expected
for (int i = 0; i < a.size(); ++i)
^
Main.java:76: error: class, interface, or enum expected
return fix(a), a;
^
Main.java:77: error: class, interface, or enum expected
}
^
Main.java:81: error: class, interface, or enum expected
for (int i = a.size() - 1; i >= 0; i--)
^
Main.java:81: error: class, interface, or enum expected
for (int i = a.size() - 1; i >= 0; i--)
^
Main.java:81: error: class, interface, or enum expected
for (int i = a.size() - 1; i >= 0; i--)
^
Main.java:84: error: class, interface, or enum expected
return false;
^
Main.java:85: error: class, interface, or enum expected
}
^
Main.java:89: error: class, interface, or enum expected
for (int i = (int)a.size() - 1, r = 0; i >= 0; --i, r %= x) {
^
Main.java:89: error: class, interface, or enum expected
for (int i = (int)a.size() - 1, r = 0; i >= 0; --i, r %= x) {
^
Main.java:89: error: class, interface, or enum expected
for (int i = (int)a.size() - 1, r = 0; i >= 0; --i, r %= x) {
^
Main.java:91: error: class, interface, or enum expected
a[i] = r / x;
^
Main.java:92: error: class, interface, or enum expected
}
^
Main.java:94: error: class, interface, or enum expected
}
^
Main.java:97: error: class, interface, or enum expected
for (int i = (int)a.size() - 1; i >= 0; --i)
^
Main.java:97: error: class, interface, or enum expected
for (int i = (int)a.size() - 1; i >= 0; --i)
^
Main.java:97: error: class, interface, or enum expected
for (int i = (int)a.size() - 1; i >= 0; --i)
^
Main.java:99: error: class, interface, or enum expected
return r;
^
Main.java:100: error: class, interface, or enum expected
}
^
Main.java:104: error: class, interface, or enum expected
cin >> s;
^
Main.java:105: error: class, interface, or enum expected
a.clear();
^
Main.java:106: error: class, interface, or enum expected
a.resize(s.size() / 4 + 1);
^
Main.java:107: error: class, interface, or enum expected
for (int i = 0; i < s.size(); ++i)
^
Main.java:107: error: class, interface, or enum expected
for (int i = 0; i < s.size(); ++i)
^
Main.java:107: error: class, interface, or enum expected
for (int i = 0; i < s.size(); ++i)
^
Main.java:110: error: class, interface, or enum expected
a[x] = a[x] * 10 + (s[i] - '0');
^
Main.java:111: error: class, interface, or enum expected
}
^
Main.java:113: error: class, interface, or enum expected
}
^
Main.java:117: error: class, interface, or enum expected
for (int i = (int)a.size() - 2; i >= 0; i--)
^
Main.java:117: error: class, interface, or enum expected
for (int i = (int)a.size() - 2; i >= 0; i--)
^
Main.java:117: error: class, interface, or enum expected
for (int i = (int)a.size() - 2; i >= 0; i--)
^
Main.java:119: error: class, interface, or enum expected
return cout;
^
Main.java:120: error: class, interface, or enum expected
}
^
Main.java:124: error: class, interface, or enum expected
for (int i = 1; i <= n / 2; ++i)
^
Main.java:124: error: class, interface, or enum expected
for (int i = 1; i <= n / 2; ++i)
^
Main.java:124: error: class, interface, or enum expected
for (int i = 1; i <= n / 2; ++i)
^
Main.java:127: error: class, interface, or enum expected
b = b + a;
^
Main.java:128: error: class, interface, or enum expected
cout << "F[" << i * 2 + 1 << "]=" << a << endl;
^
Main.java:129: error: class, interface, or enum expected
cout << "F[" << i * 2 + 2 << "]=" << b << endl;
^
Main.java:130: error: class, interface, or enum expected
}
^
Main.java:136: error: class, interface, or enum expected
for (int i = 1; i <= n; ++i) {
^
Main.java:136: error: class, interface, or enum expected
for (int i = 1; i <= n; ++i) {
^
Main.java:136: error: class, interface, or enum expected
for (int i = 1; i <= n; ++i) {
^
Main.java:138: error: class, interface, or enum expected
cout << i << "!= " << P << endl;
^
Main.java:139: error: class, interface, or enum expected
}
^
Main.java:145: error: class, interface, or enum expected
int x;
^
Main.java:146: error: class, interface, or enum expected
for (;;) {
^
Main.java:146: error: class, interface, or enum expected
for (;;) {
^
Main.java:148: error: class, interface, or enum expected
if (cin >> a >> x)
^
Main.java:150: error: class, interface, or enum expected
else
^
Main.java:152: error: class, interface, or enum expected
cout << "a=" << a << " x=" << x << endl;
^
Main.java:153: error: class, interface, or enum expected
vi q = a / x;
^
Main.java:154: error: class, interface, or enum expected
int r = a % x;
^
Main.java:155: error: class, interface, or enum expected
cout << "a/x=" << q << "; a%x=" << r << endl;
^
Main.java:156: error: class, interface, or enum expected
vi a0 = q * to_vi(x) + to_vi(r);
^
Main.java:157: error: as of release 1.4, 'assert' is a keyword, and may not be used as an identifier
assert(a0 == a && !(a0 < a) && !(a0 > a));
^
Main.java:158: error: class, interface, or enum expected
}
^
Main.java:164: error: class, interface, or enum expected
cin >> a ;
^
Main.java:165: error: class, interface, or enum expected
if ((a % 13)==0)
^
Main.java:168: error: class, interface, or enum expected
}
^
100 errors