Pagini recente » Borderou de evaluare (job #2561403) | Borderou de evaluare (job #2728019) | Borderou de evaluare (job #642781) | Borderou de evaluare (job #158684) | Borderou de evaluare (job #1608685)
Borderou de evaluare (job #1608685)
Raport evaluator
Compilare:
user.cpp: In function ‘void sortare(int)’:
user.cpp:18:64: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(subst[i].x>subst[j].x || subst[i].x==subst[j].x && subst[i].y>subst[j].y){
^
user.cpp: In function ‘void frigidere(int)’:
user.cpp:32:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(subst[i].x<=f[j].x && subst[i].y<=f[j].y || f[j].x<=subst[i].y && f[j].y>=subst[i].x || f[j].x>=subst[i].x && f[j].y<=subst[i].y || f[j].x>=subst[i].x && f[j].y<=subst[i].y){
^
user.cpp:32:123: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(subst[i].x<=f[j].x && subst[i].y<=f[j].y || f[j].x<=subst[i].y && f[j].y>=subst[i].x || f[j].x>=subst[i].x && f[j].y<=subst[i].y || f[j].x>=subst[i].x && f[j].y<=subst[i].y){
^
user.cpp:32:167: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(subst[i].x<=f[j].x && subst[i].y<=f[j].y || f[j].x<=subst[i].y && f[j].y>=subst[i].x || f[j].x>=subst[i].x && f[j].y<=subst[i].y || f[j].x>=subst[i].x && f[j].y<=subst[i].y){
^
user.cpp: In function ‘void citire(int)’:
user.cpp:11:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &subst[i].x, &subst[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.in","r",stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.out","w",stdout);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | OK | 10 | 10 |
2 | 0ms | 448kb | OK | 10 | 10 |
3 | 4ms | 460kb | OK | 10 | 10 |
4 | Depăşit | 472kb | Time limit exceeded. | 0 | 0 |
5 | 28ms | 480kb | OK | 10 | 0 |
6 | 0ms | 456kb | OK | 10 |
7 | Depăşit | 476kb | Time limit exceeded. | 0 |
8 | 4ms | 460kb | OK | 10 |
9 | Depăşit | 480kb | Time limit exceeded. | 0 |
10 | 0ms | 452kb | OK | 10 |
Punctaj total | 30 |