Pagini recente » Borderou de evaluare (job #846952) | Borderou de evaluare (job #2134794) | Borderou de evaluare (job #1207275) | Borderou de evaluare (job #2007528) | Borderou de evaluare (job #1998911)
Borderou de evaluare (job #1998911)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:24:28: 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: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:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:43:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]),d[i]=v[i];
^
user.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 912kb | OK | 10 |
2 | 0ms | 488kb | OK | 10 |
3 | 0ms | 488kb | OK | 10 |
4 | 0ms | 484kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 0ms | 480kb | OK | 10 |
7 | 8ms | 772kb | OK | 10 |
8 | 16ms | 900kb | OK | 10 |
9 | 16ms | 900kb | OK | 10 |
10 | 16ms | 904kb | OK | 10 |
Punctaj total | 100 |