Borderou de evaluare (job #2662020)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 23 octombrie 2020 11:56:01
Problema Sub Status done
Runda simulare23.10 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:26:9: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:41:9: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:20:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sub.in", "r", stdin); ^ main.cpp:21:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w", stdout); ^ main.cpp:22:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ main.cpp:36:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&m); ^ Non zero exit status: 1

Ceva nu functioneaza?