Pagini recente » Borderou de evaluare (job #2124748) | Borderou de evaluare (job #1969023) | Borderou de evaluare (job #2222589) | Borderou de evaluare (job #660109) | Borderou de evaluare (job #1885596)
Borderou de evaluare (job #1885596)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:35:15: warning: statement has no effect [-Wunused-value]
for (j; j <= v && ves[j].y >= hes[i].y; j++)
^
user.cpp: In function ‘void read()’:
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &h, &v);
^
user.cpp:23:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &hes[i].x, &hes[i].y);
^
user.cpp:25:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &ves[i].x, &ves[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hvrays.in", "r", stdin);
^
user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hvrays.out", "w", stdout);
^
user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1972kb | Time limit exceeded. | 0 |
Punctaj total | 0 |