Borderou de evaluare (job #2230782)

Utilizator DjokValeriu Motroi Djok Data 11 august 2018 14:36:24
Problema 2SAT Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:49:48: error: ‘l’ was not declared in this scope for(i = 0; i < n; ++i) printf("%d%c", rs[2 * l[i] + 1], " \n"[i == n]); ^ user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("2sat.in", "r", stdin); ^ user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("2sat.out", "w", stdout); ^ user.cpp:42:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d %d", &n, &m); m; --m) { ^ user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^

Ceva nu functioneaza?