Borderou de evaluare (job #317014)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Dictionar | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 oct. 2017 17:09:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat]
user.cpp:40:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat]
user.cpp:48:18: error: request for member ‘begin’ in ‘v’, which is of non-class type ‘std::vector<aa> [666018]’
user.cpp:48:34: error: request for member ‘end’ in ‘v’, which is of non-class type ‘std::vector<aa> [666018]’
user.cpp:50:27: error: ‘std::vector<aa>::iterator’ has no member named ‘v’
user.cpp:33:15: warning: unused variable ‘b’ [-Wunused-variable]
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:32:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:35:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:38:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]