Pagini recente » Borderou de evaluare (job #2396801) | Borderou de evaluare (job #675477) | Borderou de evaluare (job #822695) | Borderou de evaluare (job #2353252) | Borderou de evaluare (job #2041139)
Borderou de evaluare (job #2041139)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%f%f",&xc,&yc);
^
user.cpp:13:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:16:46: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%f%f",&v[i].first,&v[i].second);
^
user.cpp:16:46: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hawaii.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hawaii.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f%f",&xc,&yc);
^
user.cpp:16:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f%f",&v[i].first,&v[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2056kb | Incorect | 0 |
2 | 0ms | 2072kb | Incorect | 0 |
3 | 0ms | 2068kb | Incorect | 0 |
4 | 0ms | 2068kb | Incorect | 0 |
5 | 4ms | 2116kb | Incorect | 0 |
6 | 4ms | 2116kb | Incorect | 0 |
7 | 24ms | 2372kb | Incorect | 0 |
8 | 48ms | 2680kb | Incorect | 0 |
9 | 60ms | 2832kb | Incorect | 0 |
10 | 60ms | 2836kb | Incorect | 0 |
Punctaj total | 0 |