Pagini recente » Borderou de evaluare (job #1092297) | Borderou de evaluare (job #1383259) | Borderou de evaluare (job #2394370) | Borderou de evaluare (job #1635250) | Borderou de evaluare (job #2100871)
Borderou de evaluare (job #2100871)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:16:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(z=0; z<L[k].size(); z++)
^
user.cpp: In function ‘void dfs_verif(int)’:
user.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(z=0; z<L[k].size(); z++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin);
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out","w",stdout);
^
user.cpp:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:51:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m[i].x,&m[i].y);
^
user.cpp:92:13: warning: ‘sum3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sum2>sum3)
^
user.cpp:105:13: warning: ‘nr_nod3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(nr_nod3==1)
^
user.cpp:124:25: warning: ‘rad3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fix=rad3;
^
user.cpp:86:13: warning: ‘sum2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sum1>sum2)
^
user.cpp:106:17: warning: ‘nr_nod1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(nr_nod2==1)
^
user.cpp:110:29: warning: ‘rad1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fix=rad1;
^
user.cpp:86:13: warning: ‘sum1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sum1>sum2)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK! | 10 |
2 | 0ms | 284kb | OK! | 10 |
3 | 0ms | 280kb | OK! | 10 |
4 | 4ms | 280kb | OK! | 10 |
5 | 8ms | 280kb | OK! | 10 |
6 | 28ms | 280kb | OK! | 10 |
7 | 80ms | 288kb | OK! | 10 |
8 | Depăşit | 268kb | Time limit exceeded. | 0 |
9 | Depăşit | 264kb | Time limit exceeded. | 0 |
10 | Depăşit | 264kb | Time limit exceeded. | 0 |
Punctaj total | 70 |