Borderou de evaluare (job #2560782)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 28 februarie 2020 11:39:15
Problema Brazi Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool match(int, int)': main.cpp:40:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < b[b1].v[i].size(); j++) ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:77:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(x < ans[b[i].n].size() && !match(i, ans[b[i].n][x].first)) ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:80:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(x == ans[b[i].n].size()) { ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:49:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("brazi.in", "r", stdin); ^ main.cpp:50:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("brazi.out", "w", stdout); ^ main.cpp:53:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &t); ^ main.cpp:55:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &b[i].n); ^ main.cpp:62:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d ", &x, &y, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1801ms50987kbOK100
Punctaj total100

Ceva nu functioneaza?