Borderou de evaluare (job #2056709)
Utilizator | Constantin-Buliga Stefan fanache99 | Data | 4 noiembrie 2017 12:54:36 |
---|---|---|---|
Problema | Oxificare | Status | done |
Runda | Algoritmiada 2017 Runda Finala Seniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:28: error: ISO C++ forbids declaration of ‘Minimum’ with no type [-fpermissive]
inline Minimum(int a, int b) {
^
user.cpp:20:28: error: ISO C++ forbids declaration of ‘Maximum’ with no type [-fpermissive]
inline Maximum(int a, int b) {
^
user.cpp: In function ‘void Up(int)’:
user.cpp:64:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= g[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:88:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oxificare.in", "r", stdin);
^
user.cpp:89:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oxificare.out", "w", stdout);
^
user.cpp:91:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:94:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:96:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dad[i]);
^
user.cpp:100:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !