Pagini recente » Cod sursa (job #3235801) | Borderou de evaluare (job #1336448) | Borderou de evaluare (job #2015737) | Borderou de evaluare (job #1080620) | Borderou de evaluare (job #2222939)
Borderou de evaluare (job #2222939)
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 | 756kb | OK | 10 |
2 | 4ms | 752kb | OK | 10 |
3 | 0ms | 872kb | OK | 10 |
4 | 0ms | 836kb | OK | 10 |
5 | 32ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 36ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 24ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 760kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 812kb | Wall time limit exceeded. | 0 |
10 | 0ms | 756kb | OK | 10 |
Punctaj total | 50 |