Pagini recente » Borderou de evaluare (job #867523) | Borderou de evaluare (job #684603) | Borderou de evaluare (job #178898) | Borderou de evaluare (job #2659596) | Borderou de evaluare (job #1708553)
Borderou de evaluare (job #1708553)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:24:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=j; i<mu[x].size()-1; i++)
^
user.cpp:46:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=mu[x].size(); i++)
^
user.cpp:50:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=mu[x].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:76:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,x,y;
^
user.cpp:74:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autostrazi.in","r",stdin);
^
user.cpp:75:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autostrazi.out","w",stdout);
^
user.cpp:78:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&s,&k);
^
user.cpp:80:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&pret[i]);
^
user.cpp:83: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: In function ‘void dfs(int)’:
user.cpp:24:19: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=j; i<mu[x].size()-1; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | Incorect | 0 |
2 | 0ms | 328kb | Incorect | 0 |
3 | 0ms | 360kb | Incorect | 0 |
4 | 0ms | 352kb | OK | 10 |
5 | 0ms | 388kb | Incorect | 0 |
6 | 0ms | 412kb | Incorect | 0 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 0ms | 456kb | Incorect | 0 |
9 | 0ms | 456kb | Incorect | 0 |
10 | 0ms | 304kb | OK | 10 |
Punctaj total | 20 |