Borderou de evaluare (job #1746774)
Utilizator | Data | 23 august 2016 21:33:38 | |
---|---|---|---|
Problema | Rubarba | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:78:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < infas.size()-1; i++) {
^
user.cpp:81:18: error: cannot convert ‘punct’ to ‘double’ for argument ‘1’ to ‘bool equals(double, double)’
if (equals(e, f)) continue;
^
user.cpp:85:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < infas.size()-1; j++) {
^
user.cpp: In function ‘void citire()’:
user.cpp:33:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:35:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &a[i].x, &a[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:102:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rubarba.in", "r", stdin);
^
user.cpp:103:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rubarba.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !