Pagini recente » Borderou de evaluare (job #1282005) | Borderou de evaluare (job #206432) | Borderou de evaluare (job #918404) | Borderou de evaluare (job #2742481) | Borderou de evaluare (job #2029990)
Borderou de evaluare (job #2029990)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri2.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri2.out","w",stdout);
^
user.cpp:43: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:49: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:67:24: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int sol=dfs(start,1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 0ms | 300kb | Incorect | 0 |
7 | 0ms | 296kb | Incorect | 0 |
8 | 0ms | 320kb | Incorect | 0 |
9 | 0ms | 324kb | Incorect | 0 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 20 |