Borderou de evaluare (job #1202790)

Utilizator Kerriganamihut Kerrigan Data 29 iunie 2014 16:52:37
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:55:7: error: expected ‘(’ before ‘each’ for each(long long x in PrimeVals){ ^ user.cpp:55:12: error: expected primary-expression before ‘long’ for each(long long x in PrimeVals){ ^ user.cpp:55:36: error: ‘each’ was not declared in this scope for each(long long x in PrimeVals){ ^ user.cpp:55:37: error: expected ‘;’ before ‘{’ token for each(long long x in PrimeVals){ ^ user.cpp:72:1: error: expected primary-expression at end of input } ^ user.cpp:72:1: error: expected ‘;’ at end of input user.cpp:72:1: error: expected primary-expression at end of input user.cpp:72:1: error: expected ‘)’ at end of input user.cpp:72:1: error: expected statement at end of input user.cpp:72:1: error: expected ‘}’ at end of input user.cpp:52:6: warning: unused variable ‘count’ [-Wunused-variable] int count = 0; ^ user.cpp:72:1: error: expected ‘}’ at end of input } ^ user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prim.out", "w", stdout); ^ user.cpp:32:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &k); ^

Ceva nu functioneaza?