Pagini recente » Borderou de evaluare (job #2217189) | Borderou de evaluare (job #1668636) | Borderou de evaluare (job #672143) | Borderou de evaluare (job #460185) | Borderou de evaluare (job #1420992)
Borderou de evaluare (job #1420992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf ("%d\n", max(prod1, prod2));
^
user.cpp:15:8: warning: variable ‘zero’ set but not used [-Wunused-but-set-variable]
bool zero = false;
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("produs4.in", "r", stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("produs4.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &t);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 120ms | 380kb | Incorect | 0 |
Punctaj total | 0 |