Borderou de evaluare (job #2448474)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 16 august 2019 23:35:17
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void R_Ch(char&)': main.cpp:14:9: error: 'pos' was not declared in this scope ch = f[pos++]; ^~~ main.cpp:15:13: error: 'MAX' was not declared in this scope if(pos == MAX) ^~~ main.cpp:16:26: error: 'IN' was not declared in this scope fread(f, MAX, 1, IN), pos = 0; ^~ main.cpp: In function 'void Write_Ch(char)': main.cpp:20:5: error: 'Out' was not declared in this scope Out[out++] = ch; ^~~ main.cpp:20:9: error: 'out' was not declared in this scope Out[out++] = ch; ^~~ main.cpp:21:15: error: 'MAX' was not declared in this scope if(out == MAX) ^~~ main.cpp:22:29: error: 'OUT' was not declared in this scope fwrite(Out, MAX, 1, OUT), out = 0; ^~~ main.cpp: In function 'void Write_Int(int)': main.cpp:29:9: error: 'str' was not declared in this scope str[x++] = nr % 10 + '0'; ^~~ main.cpp:34:18: error: 'str' was not declared in this scope Write_Ch(str[--x]); ^~~ main.cpp: In function 'void Read(int&)': main.cpp:38:5: error: 'sign' was not declared in this scope sign = 0; ^~~~ main.cpp:40:13: error: 'pos' was not declared in this scope while(f[pos] < '0' || f[pos] > '9'){ ^~~ main.cpp:43:19: error: 'MAX' was not declared in this scope if(pos == MAX) ^~~ main.cpp:44:30: error: 'IN' was not declared in this scope fread(f, MAX, 1, IN), pos = 0; ^~ main.cpp:46:13: error: 'pos' was not declared in this scope while(f[pos] >= '0' && f[pos] <= '9'){ ^~~ main.cpp:48:19: error: 'MAX' was not declared in this scope if(pos == MAX) ^~~ main.cpp:49:30: error: 'IN' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?