Borderou de evaluare (job #2436297)

Utilizator giotoPopescu Ioan gioto Data 5 iulie 2019 14:08:08
Problema Arb3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int solve(int, int)': main.cpp:36:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(st >= v[t].size() - 1) st = v[t].size() - 1; ~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:83:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 1; j < v[i].size() ; ++j){ ~~^~~~~~~~~~~~~ main.cpp:79:13: warning: unused variable 'L' [-Wunused-variable] int L = v[i].size(); ^ main.cpp:62:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arb3.in", "r", stdin); ^ main.cpp:63:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arb3.out", "w", stdout); ^ main.cpp:65:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ main.cpp:69:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:75:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ main.cpp:93:30: 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
17ms2490kbOK10
27ms2490kbOK10
329ms2883kbOK10
452ms3407kbOK10
5156ms4976kbOK10
6195ms5500kbOK10
7202ms5763kbOK10
8209ms6156kbOK10
9243ms6549kbOK10
10232ms6549kbOK10
Punctaj total100

Ceva nu functioneaza?