Borderou de evaluare (job #2525107)

Utilizator bmarcuBogdan Marcu bmarcu Data 16 ianuarie 2020 19:50:39
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:1: error: expected ',' or ';' before 'char' char s[1002]; ^~~~ main.cpp: In function 'void space_erase()': main.cpp:13:22: error: 's' was not declared in this scope char *p = strchr(s, ' '); ^ main.cpp: In function 'void alim()': main.cpp:22:23: error: 's' was not declared in this scope while (i < strlen(s)) { ^ main.cpp:26:17: warning: unused variable 'ok' [-Wunused-variable] int ok = 0; ^~ main.cpp: In function 'int timp()': main.cpp:51:23: error: 's' was not declared in this scope while (i < strlen(s)) ^ main.cpp: In function 'int main()': main.cpp:68:17: error: 's' was not declared in this scope fin.getline(s, 1001); ^ Non zero exit status: 1

Ceva nu functioneaza?