Pagini recente » Cod sursa (job #367487) | Monitorul de evaluare | Borderou de evaluare (job #1734507) | Cod sursa (job #1160160) | Borderou de evaluare (job #1570245)
Borderou de evaluare (job #1570245)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:20:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].x, &v[i].y);
^
user.cpp: In function ‘void rsw()’:
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.in", "r", stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.out", "w", stdout);
^
user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp: In function ‘void solve()’:
user.cpp:28:9: warning: ‘pmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i].y >= pmax)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 284ms | 480kb | Incorect | 0 |
| Punctaj total | 0 |