Borderou de evaluare (job #45594)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Carton | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 ian. 2014 12:03:18 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:17: error: ‘n’ was not declared in this scope
user.cpp:7:18: error: expression list treated as compound expression in initializer [-fpermissive]
user.cpp:8:9: error: ‘i’ was not declared in this scope
user.cpp:9:21: error: ‘nr’ was not declared in this scope
user.cpp:9:23: error: ‘scanf’ cannot be used as a function
user.cpp:11:13: error: ‘p’ was not declared in this scope
user.cpp:12:13: error: ‘a’ was not declared in this scope
user.cpp:12:18: error: ‘p’ was not declared in this scope
user.cpp:13:13: error: ‘b’ was not declared in this scope
user.cpp:4:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:5:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]