Pagini recente » Borderou de evaluare (job #2148669) | Borderou de evaluare (job #1598767) | Borderou de evaluare (job #1643429) | Borderou de evaluare (job #2698131) | Borderou de evaluare (job #1188692)
Borderou de evaluare (job #1188692)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:16:26: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf ("%f%f", &A, &B);
^
user.cpp:16:26: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:17:28: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf ("%f%f", &X0, &Y0);
^
user.cpp:17:28: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%f%f", &A, &B);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%f%f", &X0, &Y0);
^
user.cpp: In function ‘int main()’:
user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("distanta.in", "r", stdin);
^
user.cpp:57:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("distanta.out", "w", stdout);
^
user.cpp:59:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 332kb | OK | 100 |
Punctaj total | 100 |