Pagini recente » Borderou de evaluare (job #1957828) | Borderou de evaluare (job #1866327) | Borderou de evaluare (job #946495) | Borderou de evaluare (job #1509314) | Borderou de evaluare (job #2101467)
Borderou de evaluare (job #2101467)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:14:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.in","r",stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.out","w",stdout);
^
user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:27: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:31:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&timp[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 352kb | OK | 10 |
2 | 0ms | 368kb | OK | 10 |
3 | 0ms | 388kb | OK | 10 |
4 | 0ms | 1244kb | OK | 10 |
5 | 4ms | 1824kb | OK | 10 |
6 | 4ms | 1968kb | OK | 10 |
7 | 132ms | 35092kb | OK | 10 |
8 | 188ms | 41528kb | OK | 10 |
9 | 168ms | 41544kb | OK | 10 |
10 | 196ms | 41548kb | OK | 10 |
Punctaj total | 100 |