Pagini recente » Borderou de evaluare (job #2501554) | Borderou de evaluare (job #2219452) | Borderou de evaluare (job #2058801) | Borderou de evaluare (job #1175685) | Borderou de evaluare (job #1477683)
Borderou de evaluare (job #1477683)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55: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:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:51: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 | 172ms | 292kb | Incorect | 0 |
Punctaj total | 0 |