Borderou de evaluare (job #672955)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Carti | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 31 oct. 2022 17:49:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
4 | #pragma warning(disable:4996)
|
main.cpp: In function 'int validRepetare(int)':
main.cpp:28:9: warning: unused variable 'i' [-Wunused-variable]
28 | int i, ok = 1;
| ^
main.cpp: In function 'void bkt(int)':
main.cpp:51:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
51 | if (validRepetare(k))
| ^
main.cpp: In function 'int main()':
main.cpp:72:5: error: 'fscanf_s' was not declared in this scope; did you mean 'fscanf'?
72 | fscanf_s(fin,"%hu", &N);
| ^~~~~~~~
| fscanf