Borderou de evaluare (job #2141228)
Utilizator | Data | 24 februarie 2018 11:18:08 | |
---|---|---|---|
Problema | Civilizatie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void vmin_timp_din_matrice()’:
user.cpp:35:11: warning: overflow in implicit constant conversion [-Woverflow]
vm=9999999999;
^
user.cpp:37:16: error: expected primary-expression before ‘)’ token
if()
^
user.cpp:38:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp: In function ‘int main()’:
user.cpp:50:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &t);
^
user.cpp:56:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n%d", &t, &o);
^
user.cpp:80:33: error: ‘vmin_timp_din_matricetp’ was not declared in this scope
vmin_timp_din_matricetp();
^
user.cpp:87:17: error: ‘hmin’ was not declared in this scope
hmin
^
user.cpp:79:13: warning: unused variable ‘jmin’ [-Wunused-variable]
int jmin; /// retin ce cartier il opreste
^
user.cpp:44:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("civilizatie.in", "r", stdin);
^
user.cpp:45:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("civilizatie.out", "w", stdout);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp:49:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:55:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:56:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d", &t, &o);
^
user.cpp:59:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a[i].x, &a[i].y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !