Pagini recente » Borderou de evaluare (job #2238899) | Borderou de evaluare (job #1538415) | Borderou de evaluare (job #992430) | Borderou de evaluare (job #2077609) | Borderou de evaluare (job #1611822)
Borderou de evaluare (job #1611822)
Raport evaluator
Compilare:
user.cpp: In function ‘void compute(int)’:
user.cpp:14:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:18:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<g[node].size();j++){
^
user.cpp: In function ‘int main()’:
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri2.in","r",stdin);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri2.out","w",stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:28:15: warning: ‘root’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int a,b,i,root,answer=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 300kb | OK | 10 |
8 | 0ms | 320kb | OK | 10 |
9 | 0ms | 320kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |