Submission #170287

# Submission time Handle Problem Language Result Execution time Memory
170287 2019-12-24T13:14:10 Z pink_bittern Airline Route Map (JOI18_airline) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#define pb push_back
#define pll pair <ll, ll>
#define mp make_pair
#define pyshnapyshnakaa ios_base :: sync_with_stdio(0); cin.tie(0); cout.tie(0);
#pragma optimize("TKACHENKO-GORYACHENKO")
#define psl pair <string, ll>
#define pls pair <ll, string>
#pragma GCC optimize("O3")
#define plll pair <pair <ll, ll>, ll>
#include "Alicelib.h"
// #pragma GCC optimize("Ofast")
// #pragma GCC optimize("unroll-loops")
 
typedef long long ll;
 
typedef long double ld;
 
using namespace std;

void Alice(int N, int M, int A[], int B[]) {
	InitG(N, M);
	ll q;
	for (q = 0; q < M; q++) {
		MakeG(q, A[q], B[q]);
	}
}

int main()
{
	ll q, w, e, a, b, c;
	pyshnapyshnakaa;
 	return 0;
}
#include <bits/stdc++.h>
#define pb push_back
#define pll pair <ll, ll>
#define mp make_pair
#define pyshnapyshnakaa ios_base :: sync_with_stdio(0); cin.tie(0); cout.tie(0);
#pragma optimize("TKACHENKO-GORYACHENKO")
#define psl pair <string, ll>
#define pls pair <ll, string>
#pragma GCC optimize("O3")
#define plll pair <pair <ll, ll>, ll>
#include "Boblib.h"
// #pragma GCC optimize("Ofast")
// #pragma GCC optimize("unroll-loops")
 
typedef long long ll;
 
typedef long double ld;
 
using namespace std;

void Bob(int N, int M, int A[], int B[]) {
	InitMap(N, M);
	ll q;
	for (q = 0; q < M; q++) {
		MakeMap(A[q], B[q]);
	}
}

int main()
{
	ll q, w, e, a, b, c;
	pyshnapyshnakaa;
 	return 0;
}

Compilation message

Alice.cpp:6:0: warning: ignoring #pragma optimize  [-Wunknown-pragmas]
 #pragma optimize("TKACHENKO-GORYACHENKO")
 
Alice.cpp: In function 'int main()':
Alice.cpp:31:5: warning: unused variable 'q' [-Wunused-variable]
  ll q, w, e, a, b, c;
     ^
Alice.cpp:31:8: warning: unused variable 'w' [-Wunused-variable]
  ll q, w, e, a, b, c;
        ^
Alice.cpp:31:11: warning: unused variable 'e' [-Wunused-variable]
  ll q, w, e, a, b, c;
           ^
Alice.cpp:31:14: warning: unused variable 'a' [-Wunused-variable]
  ll q, w, e, a, b, c;
              ^
Alice.cpp:31:17: warning: unused variable 'b' [-Wunused-variable]
  ll q, w, e, a, b, c;
                 ^
Alice.cpp:31:20: warning: unused variable 'c' [-Wunused-variable]
  ll q, w, e, a, b, c;
                    ^
/tmp/ccRp8hsY.o: In function `main':
Alice.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccCi0yyX.o:grader_alice.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status

Bob.cpp:6:0: warning: ignoring #pragma optimize  [-Wunknown-pragmas]
 #pragma optimize("TKACHENKO-GORYACHENKO")
 
Bob.cpp: In function 'int main()':
Bob.cpp:31:5: warning: unused variable 'q' [-Wunused-variable]
  ll q, w, e, a, b, c;
     ^
Bob.cpp:31:8: warning: unused variable 'w' [-Wunused-variable]
  ll q, w, e, a, b, c;
        ^
Bob.cpp:31:11: warning: unused variable 'e' [-Wunused-variable]
  ll q, w, e, a, b, c;
           ^
Bob.cpp:31:14: warning: unused variable 'a' [-Wunused-variable]
  ll q, w, e, a, b, c;
              ^
Bob.cpp:31:17: warning: unused variable 'b' [-Wunused-variable]
  ll q, w, e, a, b, c;
                 ^
Bob.cpp:31:20: warning: unused variable 'c' [-Wunused-variable]
  ll q, w, e, a, b, c;
                    ^
/tmp/ccOCWCRx.o: In function `main':
Bob.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccfc7JTq.o:grader_bob.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status