Borderou de evaluare (job #2520044)

Utilizator bogdi1bogdan bancuta bogdi1 Data 8 ianuarie 2020 20:22:29
Problema Mess Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void update1(int, int, int)': main.cpp:26:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( ; poz<aib[nod].capacity(); poz+=poz&-poz) ~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void join(int, int, int)': main.cpp:47:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<aint[left].size() && j<aint[right].size()){ ~^~~~~~~~~~~~~~~~~~ main.cpp:47:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<aint[left].size() && j<aint[right].size()){ ~^~~~~~~~~~~~~~~~~~~ main.cpp:58:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<aint[left].size()){ ~^~~~~~~~~~~~~~~~~~ main.cpp:63:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(j<aint[right].size()){ ~^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:151:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("mess.in", "r", stdin); ^ main.cpp:152:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mess.out", "w", stdout); ^ main.cpp:154: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:156:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:161:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tip); ^ main.cpp:163:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:168:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &p, &q, &x); ^ main.cpp: In function 'int solve(int, int, int)': main.cpp:148:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] return last; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1140ms21495kbOK10
2546ms23109kbOK10
3553ms23937kbOK10
41904ms31326kbOK10
5177ms36880kbMemory limit exceeded0
62005ms34013kbTime limit exceeded0
72002ms34615kbTime limit exceeded0
8162ms36880kbMemory limit exceeded0
9157ms36880kbMemory limit exceeded0
102002ms36139kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?