Borderou de evaluare (job #818141)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Carti | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 apr. 2025 02:02:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:4:1: error: unknown type name 'using'
4 | using namespace std;
| ^~~~~
main.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
4 | using namespace std;
| ^~~
main.c: In function 'main':
main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf(inFile, "%d%d", &n, &m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(inFile, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~~~~