Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2913639) | Monitorul de evaluare | Rezultatele filtrării | Borderou de evaluare (job #1423761)
Borderou de evaluare (job #1423761)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:10: warning: unused variable ‘f_hour’ [-Wunused-variable]
double f_hour, f_min;
^
user.cpp:42:18: warning: unused variable ‘f_min’ [-Wunused-variable]
double f_hour, f_min;
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN_FILE_NAME, "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT_FILE_NAME, "w", stdout);
^
user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &hour, &min);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 100 |
Punctaj total | 100 |