Pagini recente » Borderou de evaluare (job #2670654) | Borderou de evaluare (job #1748891) | Borderou de evaluare (job #1176456) | Borderou de evaluare (job #957700) | Borderou de evaluare (job #2008067)
Borderou de evaluare (job #2008067)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:105:78: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
{ S[i & 1][0] = 1 ; for ( int j = 1; j <= i; ++j ) S[i & 1][j] = S[i - 1 & 1][j] + S[i - 1 & 1][j - 1] ; }
^
user.cpp:105:96: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
{ S[i & 1][0] = 1 ; for ( int j = 1; j <= i; ++j ) S[i & 1][j] = S[i - 1 & 1][j] + S[i - 1 & 1][j - 1] ; }
^
user.cpp: In function ‘int main()’:
user.cpp:119:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(In,"r",stdin);
^
user.cpp:120:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(Out,"w",stdout);
^
user.cpp:122:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s %s",&N,&D,sir1,sir2) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1168kb | OK | 10 |
2 | 4ms | 1164kb | OK | 10 |
3 | 4ms | 1168kb | OK | 10 |
4 | 4ms | 1160kb | OK | 10 |
5 | 4ms | 1164kb | OK | 10 |
6 | 4ms | 1160kb | OK | 10 |
7 | 48ms | 1160kb | OK | 10 |
8 | 168ms | 1168kb | OK | 10 |
9 | 244ms | 1164kb | OK | 10 |
10 | 280ms | 1164kb | OK | 10 |
Punctaj total | 100 |