Pagini recente » Borderou de evaluare (job #351856) | Borderou de evaluare (job #2118135) | Borderou de evaluare (job #2053394) | Borderou de evaluare (job #647031) | Borderou de evaluare (job #2029992)
Borderou de evaluare (job #2029992)
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 | 272kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 276kb | OK | 10 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 0ms | 288kb | OK | 10 |
| 6 | 0ms | 300kb | OK | 10 |
| 7 | 0ms | 300kb | OK | 10 |
| 8 | 0ms | 324kb | OK | 10 |
| 9 | 0ms | 328kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 100 |