Borderou de evaluare (job #1063801)
Utilizator | Data | 21 decembrie 2013 12:33:27 | |
---|---|---|---|
Problema | Mission | Status | done |
Runda | Algoritmiada 2014 - Runda 1, Clasele 11-12 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:43:15: error: stray ‘#’ in program
L = s;#include <cstdio>
^
user.cpp: In function ‘void convex_hull()’:
user.cpp:43:16: error: ‘include’ was not declared in this scope
L = s;#include <cstdio>
^
user.cpp:43:25: error: ‘cstdio’ was not declared in this scope
L = s;#include <cstdio>
^
user.cpp:50:1: error: expected primary-expression before ‘using’
using namespace std;
^
user.cpp:50:1: error: expected ‘;’ before ‘using’
user.cpp:60:76: error: a function-definition is not allowed here before ‘{’ token
inline bool cross_product (const point &a, const point &b, const point &c) {
^
user.cpp:66:67: error: a function-definition is not allowed here before ‘{’ token
inline long long square_distance (const point &a, const point &b) {
^
user.cpp:72:21: error: a function-definition is not allowed here before ‘{’ token
void convex_hull () {
^
user.cpp:212:1: error: expected ‘}’ at end of input
}
^
user.cpp:53:17: warning: unused variable ‘INFI’ [-Wunused-variable]
const long long INFI = 2e18;
^
user.cpp:57:7: warning: unused variable ‘P’ [-Wunused-variable]
point P[NMAX];
^
user.cpp:58:5: warning: unused variable ‘stk’ [-Wunused-variable]
int stk[NMAX], head, L;
^
user.cpp:58:16: warning: unused variable ‘head’ [-Wunused-variable]
int stk[NMAX], head, L;
^
user.cpp:58:22: warning: unused variable ‘L’ [-Wunused-variable]
int stk[NMAX], head, L;
^
user.cpp:33:15: warning: unused variable ‘start_point’ [-Wunused-variable]
int i, s, start_point = 1, id = 1, k = 1;
^
user.cpp:33:32: warning: unused variable ‘id’ [-Wunused-variable]
int i, s, start_point = 1, id = 1, k = 1;
^
user.cpp:36:10: warning: unused variable ‘trig’ [-Wunused-variable]
bool trig = 1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !