Pagini recente » Borderou de evaluare (job #1609919) | Borderou de evaluare (job #1152167) | Borderou de evaluare (job #159987) | Borderou de evaluare (job #1122657) | Borderou de evaluare (job #2171187)
Borderou de evaluare (job #2171187)
Raport evaluator
Compilare:
user.cpp: In function ‘void apara(int, int, int&, int&)’:
user.cpp:58:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(y>=s2 && y<t2 || y<=s2 && y>t2)
^
user.cpp:63:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(x>=s1 && x<t1 || x<=s1 && x>t1)
^
user.cpp:66:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
else if(x>s1 && x<t1 || x<s1 && x>t1)
^
user.cpp:67:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(y>s2 && y<t2 || y<s2 && y>t2)
^
user.cpp:55:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((x-s1)*(t2-s2)==(y-s2)*(t1-s1))
^
user.cpp:74:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(y>=s4 && y<t2 || y<=s4 && y>t2)
^
user.cpp:79:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(x>=s3 && x<t1 || x<=s3 && x>t1)
^
user.cpp:82:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
else if(x>s3 && x<t1 || x<s3 && x>t1)
^
user.cpp:83:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(y>s4 && y<t2 || y<s4 && y>t2)
^
user.cpp:71:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((x-s3)*(t2-s4)==(y-s4)*(t1-s3))
^
user.cpp: In function ‘void ziduri()’:
user.cpp:22:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&k);
^
user.cpp:26:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:117:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:118:79: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d%d%d%d%d%d%d",&t1,&t2,&s1,&s2,&s3,&s4,&r1,&r2,&r3,&r4);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2964kb | OK | 5 |
| 2 | 4ms | 3004kb | Primul numar corect | 1 |
| 3 | 4ms | 3032kb | OK | 5 |
| 4 | 24ms | 3612kb | OK | 5 |
| 5 | 32ms | 3720kb | OK | 5 |
| 6 | 76ms | 4148kb | OK | 5 |
| 7 | 8ms | 3212kb | OK | 5 |
| 8 | 4ms | 3104kb | OK | 5 |
| 9 | 40ms | 3668kb | OK | 5 |
| 10 | 164ms | 6636kb | OK | 5 |
| 11 | 168ms | 6624kb | OK | 5 |
| 12 | Depăşit | 6560kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 6456kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 6492kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 6636kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 6628kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 6508kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 6664kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 6588kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 6620kb | Time limit exceeded. | 0 |
| Punctaj total | 51 |