Pagini recente » Borderou de evaluare (job #1693030) | Borderou de evaluare (job #2776592) | Borderou de evaluare (job #1395807) | Borderou de evaluare (job #1409645) | 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 |