Borderou de evaluare (job #738541)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gigel si Resturile (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 oct. 2023 20:32:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:15: error: 'fin' was not declared in this scope
14 | c = fgetc(fin);
| ^~~
main.cpp:17:22: error: 'b' was not declared in this scope
17 | res = (res * b + getVal(c)) % k;
| ^
main.cpp:17:39: error: 'k' was not declared in this scope
17 | res = (res * b + getVal(c)) % k;
| ^
main.cpp:22:13: error: 'fout' was not declared in this scope
22 | fprintf(fout, "%lld\n", res);
| ^~~~