Pagini recente » Borderou de evaluare (job #1814782) | Borderou de evaluare (job #1221307) | Borderou de evaluare (job #1600618) | Borderou de evaluare (job #2148543) | Borderou de evaluare (job #1406332)
Borderou de evaluare (job #1406332)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:36: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘float*’ [-Wformat=]
scanf ("%lf %lf", &hour, &minutes);
^
user.cpp:16:36: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘float*’ [-Wformat=]
user.cpp:14:9: warning: unused variable ‘pi’ [-Wunused-variable]
float pi = 4.0 * atan(1.0);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tictac.in", "r", stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tictac.out", "w", stdout);
^
user.cpp:11:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
user.cpp:16:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lf %lf", &hour, &minutes);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 168ms | 272kb | Incorect | 0 |
Punctaj total | 0 |