Pagini recente » Borderou de evaluare (job #782950) | Borderou de evaluare (job #442796) | Borderou de evaluare (job #1643703) | Borderou de evaluare (job #2106999) | Borderou de evaluare (job #1810141)
Borderou de evaluare (job #1810141)
Raport evaluator
Compilare:
user.cpp: In function ‘double dist_2_puncte(int, int, int, int)’:
user.cpp:33:12: warning: unused variable ‘c1’ [-Wunused-variable]
double c1=(x1-x2)*(x1-x2);
^
user.cpp:34:12: warning: unused variable ‘c2’ [-Wunused-variable]
double c2=(y1-y2)*(y1-y2);
^
user.cpp: In function ‘int main()’:
user.cpp:59:20: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
printf("%f\n",0);
^
user.cpp:54:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.in","r",stdin);
^
user.cpp:55:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.out","w",stdout);
^
user.cpp:57:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:58:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&punct[1].x1,&punct[1].y1);
^
user.cpp:64:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&punct[i].x1,&punct[i].y1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK! | 10 |
2 | 0ms | 316kb | OK! | 10 |
3 | 0ms | 324kb | OK! | 10 |
4 | 60ms | 360kb | OK! | 10 |
5 | 268ms | 424kb | OK! | 10 |
6 | 260ms | 420kb | OK! | 10 |
7 | 264ms | 420kb | OK! | 10 |
8 | 268ms | 424kb | OK! | 10 |
9 | 264ms | 416kb | OK! | 10 |
10 | 264ms | 424kb | OK! | 10 |
Punctaj total | 100 |