Pagini recente » Borderou de evaluare (job #1763585) | Borderou de evaluare (job #961278) | Borderou de evaluare (job #2490470) | Borderou de evaluare (job #1731699) | Borderou de evaluare (job #1702148)
Borderou de evaluare (job #1702148)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs1(int, int)’:
user.cpp:20:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(x=0;x<v[nod].size();x++)
^
user.cpp: In function ‘void dfs2(int, int)’:
user.cpp:46:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:61:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<v[nod].size();i++) maxst[i]=max(maxst[i],maxst[i-1]);
^
user.cpp:63:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<v[nod].size()-1 && maxdr[i+1]>-1) down[v[nod][i]]=max(down[v[nod][i]],maxdr[i+1]-sum[i]+1);
^
user.cpp:72: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:83:37: 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:84:39: 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:86: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:89:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:92:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=0;j<k;j++) scanf("%d",&v[i][j]);
^
user.cpp:96:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2660kb | OK | 5 |
2 | 4ms | 2660kb | OK | 5 |
3 | 4ms | 2664kb | OK | 5 |
4 | 4ms | 2656kb | OK | 5 |
5 | 4ms | 2656kb | OK | 5 |
6 | 4ms | 2664kb | OK | 5 |
7 | 4ms | 2708kb | OK | 5 |
8 | 4ms | 2708kb | OK | 5 |
9 | 100ms | 5152kb | OK | 5 |
10 | 104ms | 5160kb | OK | 5 |
11 | 192ms | 6452kb | OK | 5 |
12 | 176ms | 6456kb | OK | 5 |
13 | 224ms | 7244kb | OK | 5 |
14 | 196ms | 7244kb | OK | 5 |
15 | 244ms | 7764kb | OK | 5 |
16 | 244ms | 7760kb | OK | 5 |
17 | 272ms | 7764kb | OK | 5 |
18 | 280ms | 7768kb | OK | 5 |
19 | 284ms | 7768kb | OK | 5 |
20 | 284ms | 7768kb | OK | 5 |
Punctaj total | 100 |