Borderou de evaluare (job #1939090)
Utilizator | Data | 25 martie 2017 13:59:35 | |
---|---|---|---|
Problema | Pachete | 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:45:2: error: ‘s’ was not declared in this scope
s = 0;
^
user.cpp:46:2: error: ‘nr’ was not declared in this scope
nr = 0;
^
user.cpp:48:3: error: ‘st’ was not declared in this scope
st = 1;
^
user.cpp:49:3: error: ‘dr’ was not declared in this scope
dr = nr;
^
user.cpp:51:4: error: ‘m’ was not declared in this scope
m = (st + dr) / 2;
^
user.cpp:53:3: error: expected primary-expression before ‘}’ token
}
^
user.cpp:53:3: error: expected ‘;’ before ‘}’ token
user.cpp:19:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &n);
^
user.cpp:20:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &xx, &yy);
^
user.cpp:23:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !