Borderou de evaluare (job #1765282)
Utilizator | Data | 26 septembrie 2016 16:09:24 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | cerculdeinfo-lectia1-hashuri.rabinkarp | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:124:15: error: stray ‘#’ in program
fi>>n;#include <cstdio>
^
user.cpp: In function ‘int main()’:
user.cpp:124:16: error: ‘include’ was not declared in this scope
fi>>n;#include <cstdio>
^
user.cpp:124:25: error: ‘cstdio’ was not declared in this scope
fi>>n;#include <cstdio>
^
user.cpp:126:1: error: expected primary-expression before ‘using’
using namespace std;
^
user.cpp:126:1: error: expected ‘;’ before ‘using’
user.cpp:134:29: error: a function-definition is not allowed here before ‘{’ token
inline void insert(int arg) {
^
user.cpp:142:29: error: a function-definition is not allowed here before ‘{’ token
inline void remove(int arg) {
^
user.cpp:200:1: error: expected ‘}’ at end of input
}
^
user.cpp:130:13: warning: unused variable ‘v’ [-Wunused-variable]
vector<int> v[MOD];
^
user.cpp:131:7: warning: unused variable ‘fi’ [-Wunused-variable]
FILE *fi = fopen("hashuri.in","r");
^
user.cpp:132:7: warning: unused variable ‘fo’ [-Wunused-variable]
FILE *fo = fopen("hashuri.out","w");
^
user.cpp:118:14: warning: unused variable ‘ant’ [-Wunused-variable]
int tsk, ant, n, t;
^
user.cpp:118:22: warning: unused variable ‘t’ [-Wunused-variable]
int tsk, ant, n, t;
^
user.cpp:200:1: error: expected ‘}’ at end of input
}
^
user.cpp: In member function ‘char InParser::read_ch()’:
user.cpp:18:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 4096, fin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !