Pagini recente » Borderou de evaluare (job #1377577) | Borderou de evaluare (job #1026430) | Borderou de evaluare (job #3145907) | Borderou de evaluare (job #181040) | Borderou de evaluare (job #2602803)
Borderou de evaluare (job #2602803)
Raport evaluator
Compilare:
main.cpp: In member function 'void GRAF::adauga_nod(int, int, int, int, int, int)':
main.cpp:64:55: warning: narrowing conversion of 'x1' from 'int' to 'double' inside { } [-Wnarrowing]
noduri.push_back({{x1,y1},{x2,y2},{x3,y3}});
^
main.cpp:64:55: warning: narrowing conversion of 'y1' from 'int' to 'double' inside { } [-Wnarrowing]
main.cpp:64:55: warning: narrowing conversion of 'x2' from 'int' to 'double' inside { } [-Wnarrowing]
main.cpp:64:55: warning: narrowing conversion of 'y2' from 'int' to 'double' inside { } [-Wnarrowing]
main.cpp:64:55: warning: narrowing conversion of 'x3' from 'int' to 'double' inside { } [-Wnarrowing]
main.cpp:64:55: warning: narrowing conversion of 'y3' from 'int' to 'double' inside { } [-Wnarrowing]
main.cpp: In member function 'double GRAF::dist_oriz_latura(GRAF::Punct, GRAF::Punct, GRAF::Punct)':
main.cpp:97:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((p1_latura.y>=p_ext.y)&&(p2_latura.y<=p_ext.y)||(p1_latura.y<=p_ext.y)&&(p2_latura.y>=p_ext.y))
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'double GRAF::drumuri()':
main.cpp:227:8: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void citire()':
main.cpp:236:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&cerinta);
^
main.cpp:237:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&n,&k);
^
main.cpp:240:64: 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",&x1,&y1,&x2,&y2,&x3,&y3);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK. | 2 |
| 2 | 3ms | 131kb | OK. | 2 |
| 3 | 3ms | 131kb | OK. | 2 |
| 4 | 3ms | 131kb | OK. | 2 |
| 5 | 3ms | 131kb | OK. | 2 |
| 6 | 4ms | 262kb | OK. | 2 |
| 7 | 4ms | 262kb | OK. | 2 |
| 8 | 4ms | 262kb | OK. | 2 |
| 9 | 5ms | 262kb | OK. | 2 |
| 10 | 5ms | 262kb | OK. | 2 |
| 11 | 2ms | 131kb | OK. | 4 |
| 12 | 3ms | 131kb | OK. | 4 |
| 13 | 3ms | 131kb | OK. | 4 |
| 14 | 3ms | 131kb | OK. | 4 |
| 15 | 3ms | 131kb | OK. | 4 |
| 16 | 4ms | 262kb | OK. | 4 |
| 17 | 4ms | 262kb | OK. | 4 |
| 18 | 4ms | 262kb | OK. | 4 |
| 19 | 5ms | 262kb | OK. | 4 |
| 20 | 5ms | 262kb | OK. | 4 |
| 21 | 2ms | 131kb | OK. | 4 |
| 22 | 3ms | 131kb | OK. | 4 |
| 23 | 3ms | 131kb | OK. | 4 |
| 24 | 3ms | 131kb | OK. | 4 |
| 25 | 3ms | 131kb | OK. | 4 |
| 26 | 4ms | 262kb | OK. | 4 |
| 27 | 4ms | 262kb | OK. | 4 |
| 28 | 4ms | 262kb | OK. | 4 |
| 29 | 5ms | 262kb | OK. | 4 |
| 30 | 5ms | 262kb | OK. | 4 |
| Punctaj total | 100 |