Pagini recente » Borderou de evaluare (job #1432842) | Borderou de evaluare (job #2315785) | Borderou de evaluare (job #2484694) | Borderou de evaluare (job #2847418) | Borderou de evaluare (job #1422555)
Borderou de evaluare (job #1422555)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int, int, std::vector<int>&, std::vector<std::vector<int> >&)’:
user.cpp:11:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ad[poz].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:63:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (j < c - 1)
^
user.cpp:72:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i < r - 1)
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("verlab.in", "r", stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("verlab.out", "w", stdout);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:26:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &r, &c);
^
user.cpp:33:40: 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 | 76ms | 580kb | Incorect | 0 |
Punctaj total | 0 |