Borderou de evaluare (job #2711695)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 24 februarie 2021 16:46:08
Problema Stv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:60:30: error: expected '}' at end of input printf("%d ", ans[i]); ^ main.cpp: In function 'void read()': main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ main.cpp:18:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:20:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &y); ^ main.cpp: In function 'int main()': main.cpp:36:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("stv.in", "r", stdin); ^ main.cpp:37:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("stv.out", "w", stdout); ^ Non zero exit status: 1

Ceva nu functioneaza?