Pagini recente » Borderou de evaluare (job #356794) | Borderou de evaluare (job #1892433) | Borderou de evaluare (job #607123) | Borderou de evaluare (job #3128073) | Borderou de evaluare (job #1208008)
Borderou de evaluare (job #1208008)
Raport evaluator
Compilare:
user.cpp: In function ‘int gc(int)’:
user.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<V[x].size();j++) if ((!w[V[x][j]])&&(!viz[V[x][j]])) return 0;
^
user.cpp: In function ‘void solve(int)’:
user.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<V[x].size();j++)
^
user.cpp:29:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if ((!w[V[x][j]])&&(gc(V[x][j]))&&(!viz[V[x][j]])||(nr2==n-2))
^
user.cpp:27:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in","r",stdin);
^
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out","w",stdout);
^
user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:41:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d",&v[i]),s=s+v[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 920kb | Time limit exceeded. | 0 |
2 | 0ms | 516kb | Incorect | 0 |
3 | 0ms | 520kb | Incorect | 0 |
4 | 0ms | 516kb | Incorect | 0 |
5 | 0ms | 520kb | OK | 10 |
6 | 0ms | 520kb | Incorect | 0 |
7 | Depăşit | 760kb | Time limit exceeded. | 0 |
8 | Depăşit | 904kb | Time limit exceeded. | 0 |
9 | Depăşit | 912kb | Time limit exceeded. | 0 |
10 | Depăşit | 916kb | Time limit exceeded. | 0 |
Punctaj total | 10 |