Pagini recente » Borderou de evaluare (job #2903228) | Borderou de evaluare (job #1723363) | Borderou de evaluare (job #2709746) | Borderou de evaluare (job #2669332) | Borderou de evaluare (job #2066340)
Borderou de evaluare (job #2066340)
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 | 2648kb | OK | 5 |
2 | 4ms | 2652kb | Incorect | 0 |
3 | 4ms | 2644kb | OK | 5 |
4 | 4ms | 2644kb | OK | 5 |
5 | 4ms | 2656kb | OK | 5 |
6 | 4ms | 2652kb | OK | 5 |
7 | 4ms | 2704kb | OK | 5 |
8 | 4ms | 2700kb | OK | 5 |
9 | 116ms | 5260kb | OK | 5 |
10 | 120ms | 5264kb | OK | 5 |
11 | 208ms | 6572kb | OK | 5 |
12 | 196ms | 6572kb | OK | 5 |
13 | 244ms | 7364kb | OK | 5 |
14 | 216ms | 7360kb | OK | 5 |
15 | 272ms | 7892kb | OK | 5 |
16 | 276ms | 7884kb | OK | 5 |
17 | 304ms | 7888kb | OK | 5 |
18 | 308ms | 7888kb | OK | 5 |
19 | 304ms | 7884kb | OK | 5 |
20 | 316ms | 7884kb | OK | 5 |
Punctaj total | 95 |