Pagini recente » Borderou de evaluare (job #1537564) | Borderou de evaluare (job #1064064) | Borderou de evaluare (job #2084740) | Borderou de evaluare (job #695009) | Borderou de evaluare (job #2061448)
Borderou de evaluare (job #2061448)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs1(int, int)’:
user.cpp:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘void dfs2(int)’:
user.cpp:71: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:77:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in","r",stdin);
^
user.cpp:78:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out","w",stdout);
^
user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&c);
^
user.cpp:81:44: 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",&s[i]);
^
user.cpp:82:44: 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",&p[i]);
^
user.cpp:85: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 | 0ms | 1492kb | OK | 10 |
2 | 240ms | 11556kb | OK | 10 |
3 | 4ms | 1548kb | OK | 10 |
4 | 4ms | 1564kb | OK | 10 |
5 | 100ms | 4380kb | OK | 10 |
6 | 168ms | 6200kb | OK | 10 |
7 | 204ms | 7076kb | OK | 10 |
8 | 200ms | 7076kb | OK | 10 |
9 | 216ms | 7312kb | OK | 10 |
10 | 212ms | 7312kb | OK | 10 |
Punctaj total | 100 |