Borderou de evaluare (job #1631753)

Utilizator MariusGeantaMarius Geanta MariusGeanta Data 5 martie 2016 18:37:41
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:17:21: error: expected identifier before numeric constant int imin[VMAX] = { [0 ... 1000] = 10001 }; ^ user.cpp: In lambda function: user.cpp:17:33: error: expected ‘{’ before ‘=’ token int imin[VMAX] = { [0 ... 1000] = 10001 }; ^ user.cpp: At global scope: user.cpp:17:33: error: no match for ‘operator=’ (operand types are ‘__lambda0’ and ‘int’) user.cpp:17:33: note: candidate is: user.cpp:17:31: note: __lambda0& __lambda0::operator=(const __lambda0&) <deleted> int imin[VMAX] = { [0 ... 1000] = 10001 }; ^ user.cpp:17:31: note: no known conversion for argument 1 from ‘int’ to ‘const __lambda0&’ user.cpp: In function ‘int main(int, const char**)’: user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in", "r", stdin); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.out", "w", stdout); ^ user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &val); ^ user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:47:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &i, &j, &x, &y); ^

Ceva nu functioneaza?