Pagini recente » Borderou de evaluare (job #2408432) | Borderou de evaluare (job #64879) | Borderou de evaluare (job #483537) | Borderou de evaluare (job #2449461) | Borderou de evaluare (job #1846733)
Borderou de evaluare (job #1846733)
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 | 604kb | OK | 10 | 10 |
2 | 4ms | 2152kb | OK | 10 | 10 |
3 | 4ms | 2176kb | OK | 10 | 10 |
4 | 84ms | 11616kb | OK | 10 | 20 |
5 | 72ms | 11596kb | OK | 10 |
6 | 256ms | 24872kb | OK | 10 | 20 |
7 | 384ms | 24896kb | OK | 10 |
8 | 284ms | 24868kb | OK | 10 | 30 |
9 | 296ms | 24892kb | OK | 10 |
10 | 300ms | 24896kb | OK | 10 |
Punctaj total | 100 |