Pagini recente » Borderou de evaluare (job #2635971) | Borderou de evaluare (job #1153594) | Borderou de evaluare (job #2265228) | Borderou de evaluare (job #1049417) | Borderou de evaluare (job #1477693)
Borderou de evaluare (job #1477693)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii3.in", "r", stdin);
^
user.cpp:15:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii3.out", "w", stdout);
^
user.cpp:45:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 156ms | 308kb | Incorect | 0 |
| Punctaj total | 0 |