Pagini recente » Borderou de evaluare (job #757315) | Borderou de evaluare (job #2438833) | Borderou de evaluare (job #1022748) | Borderou de evaluare (job #3137767) | Borderou de evaluare (job #1406761)
Borderou de evaluare (job #1406761)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:24: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%f %f", &H, &M);
^
user.cpp:16:24: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:7:34: 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:8:36: 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:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f %f", &H, &M);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 168ms | 268kb | Incorect | 0 |
Punctaj total | 0 |