Pagini recente » Borderou de evaluare (job #942013) | Borderou de evaluare (job #1991906) | Borderou de evaluare (job #2948944) | Borderou de evaluare (job #2948945) | Borderou de evaluare (job #1552999)
Borderou de evaluare (job #1552999)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:57:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (v != tata)
^
user.cpp: In function ‘void readData()’:
user.cpp:36:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
^
user.cpp:38:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &u, &v);
^
In file included from /usr/include/string.h:642:0,
from user.cpp:3:
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘int main()’ at user.cpp:86:29:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘int main()’ at user.cpp:87:35:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘int main()’ at user.cpp:88:29:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
/tmp/ccZhLETv.o: In function `main':
user.cpp:(.text.startup+0x23): warning: memset used with constant zero length parameter; this could be due to transposed parameters
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | Corect | 10 |
| 2 | 0ms | 276kb | Corect | 10 |
| 3 | 0ms | 276kb | Corect | 10 |
| 4 | 0ms | 316kb | Corect | 10 |
| 5 | 0ms | 356kb | Corect | 10 |
| 6 | 4ms | 668kb | Corect | 10 |
| 7 | 12ms | 1044kb | Corect | 10 |
| 8 | 64ms | 4112kb | Corect | 10 |
| 9 | 92ms | 6300kb | Corect | 10 |
| 10 | 120ms | 7820kb | Corect | 10 |
| Punctaj total | 100 |