Borderou de evaluare (job #204153)

Utilizator avatar tpip2004 tudor pipernea tpip2004 IP ascuns
Problemă Evacuare (lot liceu) Compilator cpp | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 20 feb. 2016 09:41:18 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:108:5: error: redefinition of ‘int e’ user.cpp:6:5: error: ‘int e’ previously declared here user.cpp:108:16: error: redefinition of ‘int v [500001]’ user.cpp:6:8: error: ‘int v [500001]’ previously declared here user.cpp:108:31: error: redefinition of ‘int val [1200001]’ user.cpp:6:19: error: ‘int val [1200001]’ previously declared here user.cpp:108:47: error: redefinition of ‘int next [1200001]’ user.cpp:6:34: error: ‘int next [1200001]’ previously declared here user.cpp:108:62: error: redefinition of ‘int lista [500001]’ user.cpp:6:50: error: ‘int lista [500001]’ previously declared here user.cpp:108:74: error: redefinition of ‘int q [2][500000]’ user.cpp:6:65: error: ‘int q [2][500000]’ previously declared here user.cpp:108:81: error: redefinition of ‘int st [2]’ user.cpp:6:77: error: ‘int st [2]’ previously declared here user.cpp:108:88: error: redefinition of ‘int dr [2]’ user.cpp:6:84: error: ‘int dr [2]’ previously declared here user.cpp:108:100: error: redefinition of ‘int r [2][500000]’ user.cpp:6:91: error: ‘int r [2][500000]’ previously declared here user.cpp:108:113: error: redefinition of ‘int poz [500001]’ user.cpp:6:103: error: ‘int poz [500001]’ previously declared here user.cpp:108:127: error: redefinition of ‘int cost [500001]’ user.cpp:6:116: error: ‘int cost [500001]’ previously declared here user.cpp:108:139: error: redefinition of ‘int ok [500001]’ user.cpp:6:130: error: ‘int ok [500001]’ previously declared here user.cpp:108:142: error: redefinition of ‘int pos’ user.cpp:6:142: error: ‘int pos’ previously defined here user.cpp:109:18: error: redefinition of ‘char buf [4096]’ user.cpp:7:6: error: ‘char buf [4096]’ previously declared here user.cpp:110:7: error: redefinition of ‘FILE* fin’ user.cpp:8:7: error: ‘FILE* fin’ previously declared here user.cpp: In function ‘char getch()’: user.cpp:111:13: error: redefinition of ‘char getch()’ user.cpp:9:13: error: ‘char getch()’ previously defined here user.cpp: In function ‘int read()’: user.cpp:118:12: error: redefinition of ‘int read()’ user.cpp:16:12: error: ‘int read()’ previously defined here user.cpp: In function ‘void adauga(int, int)’: user.cpp:130:13: error: redefinition of ‘void adauga(int, int)’ user.cpp:28:13: error: ‘void adauga(int, int)’ previously defined here user.cpp: In function ‘int main()’: user.cpp:136:5: error: redefinition of ‘int main()’ user.cpp:34:5: error: ‘int main()’ previously defined here user.cpp: In function ‘char getch()’: user.cpp:11:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]