Borderou de evaluare (job #1731260)

Utilizator serbanmaria15Serban Maria-Catalina serbanmaria15 Data 18 iulie 2016 16:39:35
Problema Jocul NIM Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: error: expected unqualified-id before ‘xor’ token int t, i,j, n, x, y, z, xor; ^ user.cpp:24:3: error: expected primary-expression before ‘xor’ token xor=bitXor(x,y); ^ user.cpp:24:6: error: expected primary-expression before ‘=’ token xor=bitXor(x,y); ^ user.cpp:28:4: error: expected primary-expression before ‘xor’ token xor=bitXor(xor,z); ^ user.cpp:28:7: error: expected primary-expression before ‘=’ token xor=bitXor(xor,z); ^ user.cpp:28:15: error: expected primary-expression before ‘xor’ token xor=bitXor(xor,z); ^ user.cpp:28:18: error: expected primary-expression before ‘,’ token xor=bitXor(xor,z); ^ user.cpp:31:6: error: expected primary-expression before ‘xor’ token if(xor == 0) ^ user.cpp:31:10: error: expected primary-expression before ‘==’ token if(xor == 0) ^ user.cpp:18:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inputFile, "%d", &t); ^ user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inputFile, "%d", &n); ^ user.cpp:22:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inputFile, "%d", &x); ^ user.cpp:23:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inputFile, "%d", &y); ^ user.cpp:27:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(inputFile, "%d", &z); ^

Ceva nu functioneaza?