Pagini recente » Borderou de evaluare (job #1999686) | Borderou de evaluare (job #222182) | Borderou de evaluare (job #1604765) | Borderou de evaluare (job #1966728) | 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 |