Pagini recente » Borderou de evaluare (job #2082239) | Borderou de evaluare (job #1698563) | Borderou de evaluare (job #1523550) | Borderou de evaluare (job #279638) | Borderou de evaluare (job #1385708)
Borderou de evaluare (job #1385708)
Raport evaluator
Compilare:
user.cpp: In function ‘void Rotate(Point&)’:
user.cpp:36:11: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
Point tmp = p;
^
user.cpp: In function ‘int main()’:
user.cpp:102:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vfs.size();i++){
^
user.cpp:109:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vfs.size();i++){
^
user.cpp:118:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vfs.size()-1;i++){
^
user.cpp:61:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arie.in","r",stdin);
^
user.cpp:62:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arie.out","w",stdout);
^
user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:67:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) {scanf("%lf %lf",&Poly[0][i].x,&Poly[0][i].y);Rotate(Poly[0][i]);}
^
user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&m);
^
user.cpp:69:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++) {scanf("%lf %lf",&Poly[1][i].x,&Poly[1][i].y);Rotate(Poly[1][i]);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | OK | 10 |
2 | 0ms | 492kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 492kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 0ms | 492kb | OK | 10 |
7 | 0ms | 484kb | OK | 10 |
8 | 0ms | 492kb | OK | 10 |
9 | 0ms | 488kb | OK | 10 |
10 | 0ms | 484kb | OK | 10 |
Punctaj total | 100 |