Borderou de evaluare (job #1498192)
Utilizator | Data | 8 octombrie 2015 06:27:36 | |
---|---|---|---|
Problema | Ture | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:19: error: expected initializer before ‘ans’
unsigned __int64 ans = 0;
^
user.cpp:48:24: error: ‘ans’ was not declared in this scope
if (bit_cnt(i) == K) ans += DP[1][i];
^
user.cpp:50:19: error: ‘ans’ was not declared in this scope
printf("%llu\n", ans);
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ture.out", "w", stdout);
^
user.cpp:22:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &N, &M, &K, &P);
^
user.cpp:28:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
!swap ? blocked[x][y] = 1 : blocked[y][x] = 1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !