Borderou de evaluare (job #2038178)
| Utilizator | Data | 13 octombrie 2017 14:21:49 | |
|---|---|---|---|
| Problema | Panda | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:28: error: ‘r’ was not declared in this scope
in = fopen("panda.in", r);
^
user.cpp:12:30: error: ‘w’ was not declared in this scope
out = fopen("panda.out", w);
^
user.cpp:14:11: error: missing template arguments before ‘tot’
stack tot;
^
user.cpp:14:11: error: expected ‘;’ before ‘tot’
user.cpp:17:28: error: expected unqualified-id before ‘&’ token
fscanf(in, "%d%d". &x, &y);
^
user.cpp:23:10: warning: statement has no effect [-Wunused-value]
k/2;
^
user.cpp:24:9: error: ‘tot’ was not declared in this scope
tot.push(help);
^
user.cpp:29:16: error: ‘tot’ was not declared in this scope
if(tot.top()==0){
^
user.cpp:35:13: error: ‘tot’ was not declared in this scope
tot.pop();
^
user.cpp:38:16: error: expected primary-expression before ‘)’ token
if()
^
user.cpp:39:9: error: expected primary-expression before ‘}’ token
}
^
user.cpp:39:9: error: expected ‘;’ before ‘}’ token
user.cpp:45:32: error: ‘bin’ was not declared in this scope
if(!bin(x, nrbin, s)){
^
user.cpp:46:24: error: no match for ‘operator=’ (operand types are ‘yes’ and ‘int’)
v[i][j]=-1;
^
user.cpp:46:24: note: candidates are:
user.cpp:4:8: note: yes& yes::operator=(const yes&)
struct yes{
^
user.cpp:4:8: note: no known conversion for argument 1 from ‘int’ to ‘const yes&’
user.cpp:4:8: note: yes& yes::operator=(yes&&)
user.cpp:4:8: note: no known conversion for argument 1 from ‘int’ to ‘yes&&’
user.cpp:15:67: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d%d%d%d%d%d", &p, &n, &m, &t, &l, &c, &k, &s);
^
user.cpp:43:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
