Pagini recente » Borderou de evaluare (job #1075243) | Borderou de evaluare (job #1201972) | Borderou de evaluare (job #542873) | Borderou de evaluare (job #2234729) | Borderou de evaluare (job #2222941)
Borderou de evaluare (job #2222941)
Raport evaluator
Compilare:
user.cpp: In function ‘void fill(const int&, const int&, const int&, const int&)’:
user.cpp:19:32: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (0 < in && in <= n && 0 < jn & jn <= m && !a[in][jn])
~~^~~~
user.cpp: In function ‘int main()’:
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.in", "r", stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.out", "w", stdout);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &nrd, &n, &m);
^
user.cpp:33:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &xSt[i], &ySt[i], &xDr[i], &yDr[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 804kb | OK | 10 |
| 2 | 4ms | 796kb | OK | 10 |
| 3 | 0ms | 864kb | OK | 10 |
| 4 | 0ms | 840kb | OK | 10 |
| 5 | 8ms | 936kb | OK | 10 |
| 6 | 12ms | 804kb | OK | 10 |
| 7 | 16ms | 860kb | OK | 10 |
| 8 | 0ms | 808kb | OK | 10 |
| 9 | 8ms | 864kb | OK | 10 |
| 10 | 0ms | 796kb | OK | 10 |
| Punctaj total | 100 |