Borderou de evaluare (job #2484926)

Utilizator catalin9898Bajenaru Catalin catalin9898 Data 31 octombrie 2019 19:30:03
Problema Friend of Friend Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void bfs(int)': main.cpp:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < fr[nod].size(); i++) ~~^~~~~~~~~~~~~~~~ main.cpp:31:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < fr[a].size(); j++) ~~^~~~~~~~~~~~~~ main.cpp:35:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(k = 0; k < nfr[nod].size(); k++) ~~^~~~~~~~~~~~~~~~~ main.cpp:43:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(k == nfr[nod].size()) ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:67:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < nfr[i].size(); j++) ~~^~~~~~~~~~~~~~~ main.cpp:51:34: 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); ^ main.cpp:52:36: 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); ^ main.cpp:54:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:57:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
169ms2752kbOK100
Punctaj total100

Ceva nu functioneaza?