Pagini recente » Borderou de evaluare (job #2048336) | Borderou de evaluare (job #210588) | Borderou de evaluare (job #1454135) | Borderou de evaluare (job #1691306) | Borderou de evaluare (job #1244013)
Borderou de evaluare (job #1244013)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<G[i].size()&ol;j++)
^
user.cpp:25:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
for(j=0;j<G[i].size()&ol;j++)
^
user.cpp:29:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(jj = 0; jj < G[i].size();jj++){ s=0;
^
user.cpp:12:28: warning: unused variable ‘nr’ [-Wunused-variable]
int i,j,ok=1,ol,jj,q,s,p,nr;
^
user.cpp: In function ‘int main()’:
user.cpp:47:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(iN);
^
user.cpp:48:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(ouT);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:46:20: warning: ‘rila’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,x,y,s,ok,rila;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 0ms | 452kb | OK | 10 |
7 | 0ms | 460kb | OK | 10 |
8 | 0ms | 472kb | OK | 10 |
9 | 4ms | 472kb | OK | 10 |
10 | 0ms | 432kb | OK | 10 |
Punctaj total | 100 |