Pagini recente » Borderou de evaluare (job #1400146) | Borderou de evaluare (job #598652) | Borderou de evaluare (job #226728) | Borderou de evaluare (job #2565911) | Borderou de evaluare (job #1791839)
Borderou de evaluare (job #1791839)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:16:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < lda[nod].size(); i++){
^
user.cpp:17:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < lda[lda[nod][i]].size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:35:15: warning: unused variable ‘j’ [-Wunused-variable]
int x, y, i, j;
^
user.cpp:32:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.in", "r", stdin);
^
user.cpp:33:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fof.out", "w", stdout);
^
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 540kb | Incorect | 0 |
Punctaj total | 0 |