Borderou de evaluare (job #2520045)

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
1189ms21389kbOK10
2516ms23117kbOK10
3484ms23855kbOK10
41856ms31326kbOK10
5152ms36880kbMemory limit exceeded0
62000ms33947kbTime limit exceeded0
72003ms34693kbTime limit exceeded0
8218ms36880kbMemory limit exceeded0
9221ms36880kbMemory limit exceeded0
102001ms36175kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?