Borderou de evaluare (job #2325420)

Utilizator cosceexcosceex cosceex Data 22 ianuarie 2019 17:09:46
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void heapup(int)': main.cpp:99:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( px[t] < px[k] || px[t] == px[k] && py[t] < py[k] ) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'void restore(int, int)': main.cpp:132:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( stx > drx || stx == drx && sty > dry ) ~~~~~~~~~~~^~~~~~~~~~~~ main.cpp:137:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( px[r] < px[x] || px[r] == px[x] && py[r] < py[x] ) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:18:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("trapez.in", "r", stdin); ^ main.cpp:19:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("trapez.out", "w", stdout); ^ main.cpp:21:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ main.cpp:26:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", x+i, y+i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk!10
2552ms4063kbTime limit exceeded0
38ms131kbOk!10
4552ms4063kbTime limit exceeded0
515ms131kbOk!10
616ms278kbOk!10
7551ms4063kbTime limit exceeded0
8196ms1179kbOk!10
9552ms4063kbTime limit exceeded0
10551ms4063kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?