Pagini recente » Borderou de evaluare (job #813628) | Borderou de evaluare (job #2335657) | Borderou de evaluare (job #671923) | Borderou de evaluare (job #2478534) | Borderou de evaluare (job #1408732)
Borderou de evaluare (job #1408732)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, t, n, x, y, p2max, p5max, p2, p5, nr;
^
user.cpp:11:27: warning: variable ‘p2max’ set but not used [-Wunused-but-set-variable]
int i, j, t, n, x, y, p2max, p5max, p2, p5, nr;
^
user.cpp:11:34: warning: variable ‘p5max’ set but not used [-Wunused-but-set-variable]
int i, j, t, n, x, y, p2max, p5max, p2, p5, nr;
^
user.cpp:11:41: warning: unused variable ‘p2’ [-Wunused-variable]
int i, j, t, n, x, y, p2max, p5max, p2, p5, nr;
^
user.cpp:11:45: warning: unused variable ‘p5’ [-Wunused-variable]
int i, j, t, n, x, y, p2max, p5max, p2, p5, nr;
^
user.cpp:11:49: warning: unused variable ‘nr’ [-Wunused-variable]
int i, j, t, n, x, y, p2max, p5max, p2, p5, nr;
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufarina.in", "r", stdin);
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufarina.out", "w", stdout);
^
user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:49:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d.%d ", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Incorect | 0 |
Punctaj total | 0 |