Pagini recente » Borderou de evaluare (job #1758640) | Borderou de evaluare (job #3257766) | Borderou de evaluare (job #3148150) | Borderou de evaluare (job #1998687) | Borderou de evaluare (job #2066353)
Borderou de evaluare (job #2066353)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:13:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:20: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 dfs1(int, int)’:
user.cpp:49:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:66:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<v[nod].size()-1 && dr[i+1]>-1) down[vec]=max(down[vec],dr[i+1]-sum[i]+1);
^
user.cpp:68: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:74:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sushi2.in","r",stdin);
^
user.cpp:75:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sushi2.out","w",stdout);
^
user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:80:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:90:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&t1);
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:32:5: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=v[nod].size()-1;i>poz;i--)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2652kb | OK | 5 |
2 | 4ms | 2644kb | OK | 5 |
3 | 4ms | 2644kb | OK | 5 |
4 | 4ms | 2652kb | OK | 5 |
5 | 4ms | 2648kb | OK | 5 |
6 | 4ms | 2648kb | OK | 5 |
7 | 4ms | 2700kb | OK | 5 |
8 | 4ms | 2696kb | OK | 5 |
9 | 116ms | 5328kb | OK | 5 |
10 | 120ms | 5328kb | OK | 5 |
11 | 208ms | 6736kb | OK | 5 |
12 | 200ms | 6736kb | OK | 5 |
13 | 244ms | 7588kb | OK | 5 |
14 | 216ms | 7584kb | OK | 5 |
15 | 268ms | 8152kb | OK | 5 |
16 | 276ms | 8144kb | OK | 5 |
17 | 308ms | 8148kb | OK | 5 |
18 | 312ms | 8144kb | OK | 5 |
19 | 312ms | 8152kb | OK | 5 |
20 | 312ms | 8140kb | OK | 5 |
Punctaj total | 100 |