Submission #100025

# Submission time Handle Problem Language Result Execution time Memory
100025 2019-03-09T06:41:50 Z lyc Broken Device (JOI17_broken_device) C++14
Compilation error
0 ms 0 KB
#include "Annalib.h"

#include <bits/stdc++.h>
using namespace std;

long long Bruno( int N, int A[] ){
    long long X = 0;
    for (int i = 0; i < 60; ++i) {
        if (A[2*i] | A[2*i+1]) {
            X |= (1<<i);
        }
    }
    //cout << X << endl;
    return X;
}

#include "Brunolib.h"

#include <bits/stdc++.h>
using namespace std;

long long Bruno( int N, int A[] ){
    long long X = 0;
    for (int i = 0; i < 60; ++i) {
        if (A[2*i] | A[2*i+1]) {
            X |= (1LL<<i);
        }
    }
    //cout << X << endl;
    return X;
}

Compilation message

/tmp/ccbYIL4G.o: In function `main':
grader_anna.c:(.text.startup+0xdc): undefined reference to `Anna(int, long long, int, int*)'
collect2: error: ld returned 1 exit status