Borderou de evaluare (job #2158476)

Utilizator DruffbaumPopescu Vlad Druffbaum Data 10 martie 2018 13:19:36
Problema Balanta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define MAXN 1 << 10 ^ user.cpp:5:8: note: in expansion of macro ‘MAXN’ bool g[MAXN + 1], u[MAXN + 1], s[MAXN + 1], d[MAXN + 1]; ^ user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define MAXN 1 << 10 ^ user.cpp:5:21: note: in expansion of macro ‘MAXN’ bool g[MAXN + 1], u[MAXN + 1], s[MAXN + 1], d[MAXN + 1]; ^ user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define MAXN 1 << 10 ^ user.cpp:5:34: note: in expansion of macro ‘MAXN’ bool g[MAXN + 1], u[MAXN + 1], s[MAXN + 1], d[MAXN + 1]; ^ user.cpp:3:16: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define MAXN 1 << 10 ^ user.cpp:5:47: note: in expansion of macro ‘MAXN’ bool g[MAXN + 1], u[MAXN + 1], s[MAXN + 1], d[MAXN + 1]; ^ user.cpp: In function ‘int main()’: user.cpp:11:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ user.cpp:16:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &k); ^ user.cpp:21:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^ user.cpp:25:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^ user.cpp:28:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1316kbOK10
20ms1272kbOK10
30ms1308kbOK10
40ms1344kbOK10
54ms1320kbOK10
64ms1268kbOK10
78ms1320kbOK10
84ms1228kbOK10
916ms1340kbOK10
100ms1308kbOK10
Punctaj total100

Ceva nu functioneaza?