Pagini recente » Borderou de evaluare (job #2717498) | Borderou de evaluare (job #1579537) | Borderou de evaluare (job #1883894) | Borderou de evaluare (job #1421237) | Borderou de evaluare (job #1846720)
Borderou de evaluare (job #1846720)
Raport evaluator
Compilare:
user.cpp: In function ‘void Build_()’:
user.cpp:61:67: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rmq[k][i][j] = MIN(rmq[k-1][i][j], rmq[k-1][i][j+(1<<k-1)]);
^
user.cpp:6:23: note: in definition of macro ‘MIN’
#define MIN(a,b)((a)<(b)?(a):(b))
^
user.cpp:61:67: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rmq[k][i][j] = MIN(rmq[k-1][i][j], rmq[k-1][i][j+(1<<k-1)]);
^
user.cpp:6:31: note: in definition of macro ‘MIN’
#define MIN(a,b)((a)<(b)?(a):(b))
^
user.cpp: In function ‘void Solve()’:
user.cpp:90:58: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
now[k][j] = MIN(now[k-1][j], now[k-1][j+(1<<k-1)]);
^
user.cpp:6:23: note: in definition of macro ‘MIN’
#define MIN(a,b)((a)<(b)?(a):(b))
^
user.cpp:90:58: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
now[k][j] = MIN(now[k-1][j], now[k-1][j+(1<<k-1)]);
^
user.cpp:6:31: note: in definition of macro ‘MIN’
#define MIN(a,b)((a)<(b)?(a):(b))
^
user.cpp: In function ‘void Read()’:
user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:26:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,NMax,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:130:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld2d.in","r",stdin);
^
user.cpp:131:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld2d.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 608kb | OK | 10 | 10 |
| 2 | 4ms | 2156kb | OK | 10 | 10 |
| 3 | 4ms | 2176kb | OK | 10 | 10 |
| 4 | 116ms | 11624kb | OK | 10 | 20 |
| 5 | 116ms | 11596kb | OK | 10 |
| 6 | Depăşit | 24848kb | Time limit exceeded. | 0 | 0 |
| 7 | 432ms | 24900kb | OK | 10 |
| 8 | Depăşit | 24848kb | Time limit exceeded. | 0 | 0 |
| 9 | 420ms | 24900kb | OK | 10 |
| 10 | 368ms | 24896kb | OK | 10 |
| Punctaj total | 50 |