Pagini recente » Borderou de evaluare (job #3143240) | Borderou de evaluare (job #3282796) | Borderou de evaluare (job #2274781) | Istoria paginii stl | Borderou de evaluare (job #2041141)
Borderou de evaluare (job #2041141)
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 | 2052kb | Incorect | 0 |
| 2 | 0ms | 2072kb | Incorect | 0 |
| 3 | 0ms | 2076kb | Incorect | 0 |
| 4 | 0ms | 2072kb | Incorect | 0 |
| 5 | 4ms | 2124kb | Incorect | 0 |
| 6 | 4ms | 2120kb | Incorect | 0 |
| 7 | 24ms | 2364kb | Incorect | 0 |
| 8 | 48ms | 2680kb | Incorect | 0 |
| 9 | 60ms | 2832kb | Incorect | 0 |
| 10 | 60ms | 2832kb | Incorect | 0 |
| Punctaj total | 0 |