Pagini recente » Borderou de evaluare (job #1553011) | Borderou de evaluare (job #507983) | Borderou de evaluare (job #584008) | Borderou de evaluare (job #3265459) | Borderou de evaluare (job #1633738)
Borderou de evaluare (job #1633738)
Raport evaluator
Compilare:
user.cpp: In function ‘void link(int, int)’:
user.cpp:40:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (nodes[x].p != nodes[y].p)
^
user.cpp: In function ‘int main()’:
user.cpp:136:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < unions[i].size(); j++) {
^
user.cpp:90:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unlock.in", "r", stdin);
^
user.cpp:91:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unlock.out", "w", stdout);
^
user.cpp:92:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:95:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:98:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 1860kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |