Borderou de evaluare (job #2588128)

Utilizator BahamutLux Arcadia Bahamut Data 24 martie 2020 14:33:57
Problema NFA Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool verif()': main.cpp:53:13: error: 'gets' was not declared in this scope gets(str); ^ main.cpp: In function 'void citire()': main.cpp:25:118: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &myAutomata.statesNo, &myAutomata.edgesNo, &myAutomata.finalStatesNo, &myAutomata.initialState); ^ main.cpp:30:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:38:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ", &x, &y); ^ main.cpp: In function 'int main()': main.cpp:89:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nfa.in", "r", stdin); ^ main.cpp:90:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nfa.out", "w", stdout); ^ main.cpp:95:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &testsNo); ^ Non zero exit status: 1

Ceva nu functioneaza?