Borderou de evaluare (job #76098)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comp (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 sept. 2014 21:08:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:3: error: ‘ofstream’ was not declared in this scope
user.cpp:17:3: note: suggested alternative:
/usr/include/c++/4.6/iosfwd:162:34: note: ‘std::ofstream’
user.cpp:17:12: error: expected ‘;’ before ‘g’
user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char (*)[256]’ [-Wformat]
user.cpp:37:3: error: ‘g’ was not declared in this scope
user.cpp:23:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:25:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]