Borderou de evaluare (job #2309166)

Utilizator FutymyClonePhungTienMinh FutymyClone Data 28 decembrie 2018 15:32:21
Problema Bemo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In member function 'void QuadTree::init(int, int, int, int, int)': main.cpp:24:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int midx = x + x2 >> 1; ~~^~~~ main.cpp:25:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int midy = y + y2 >> 1; ~~^~~~ main.cpp: In member function 'int QuadTree::query(int, int, int, int, int, int, int, int, int)': main.cpp:39:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int midx = x + x2 >> 1; ~~^~~~ main.cpp:40:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int midy = y + y2 >> 1; ~~^~~~ main.cpp: In function 'int main()': main.cpp:68:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bemo.in", "r", stdin); ^ main.cpp:69:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bemo.out", "w", stdout); ^ main.cpp:71:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:73:109: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= n; i++) for (int j = 1; j <= m; j++) scanf("%d", &a[i][j]), where[a[i][j]] = {i, j}; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms524kbOK10
230ms1703kbOK10
369ms4325kbOK10
4308ms13369kbOK10
5654ms19791kbOK10
6960ms40501kbOK10
71003ms43909kbTime limit exceeded0
81002ms33685kbTime limit exceeded0
91002ms26869kbTime limit exceeded0
101002ms27131kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?