Pagini recente » Borderou de evaluare (job #1374417) | Borderou de evaluare (job #2049281) | Borderou de evaluare (job #2175670) | Borderou de evaluare (job #1425845) | Borderou de evaluare (job #1756535)
Borderou de evaluare (job #1756535)
Raport evaluator
Compilare:
user.cpp: In function ‘void rmq()’:
user.cpp:22:51: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
dp[i][j][k]=max(dp[i][j][k], dp[i][j+(1<<k-1)][k-1]);
^
user.cpp:23:48: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
dp[i][j][k]=max(dp[i][j][k], dp[i+(1<<k-1)][j][k-1]);
^
user.cpp:24:48: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
dp[i][j][k]=max(dp[i][j][k], dp[i+(1<<k-1)][j+(1<<k-1)][k-1]);
^
user.cpp:24:60: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
dp[i][j][k]=max(dp[i][j][k], dp[i+(1<<k-1)][j+(1<<k-1)][k-1]);
^
user.cpp: In function ‘void citire()’:
user.cpp:10:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:13:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&dp[i][j][0]);
^
user.cpp: In function ‘void query()’:
user.cpp:34:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&i,&j,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 488kb | OK | 10 | 10 |
2 | 0ms | 600kb | OK | 10 | 10 |
3 | 0ms | 828kb | OK | 10 | 10 |
4 | 4ms | 1240kb | OK | 10 | 10 |
5 | 8ms | 1928kb | OK | 10 | 10 |
6 | 24ms | 2816kb | OK | 10 | 50 |
7 | 52ms | 5160kb | OK | 10 |
8 | 96ms | 8288kb | OK | 10 |
9 | 144ms | 11196kb | OK | 10 |
10 | 156ms | 11200kb | OK | 10 |
Punctaj total | 100 |