Pagini recente » Borderou de evaluare (job #2813148) | Borderou de evaluare (job #1554302) | Borderou de evaluare (job #1934122) | Borderou de evaluare (job #1390924) | Borderou de evaluare (job #1719954)
Borderou de evaluare (job #1719954)
Raport evaluator
Compilare:
user.cpp: In function ‘void BuildGraph()’:
user.cpp:44:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<=mask[i].size();j++){
^
user.cpp:45:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((j==0||mask[i][j-1]!=0)&&(j==mask[i].size()||mask[i][j]!=0)){
^
user.cpp:50:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(p=j;p<mask[i].size();p++)
^
user.cpp:52:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(p=0;p<temp.size();p++)
^
user.cpp:55:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(it=temp.begin()+1,p=1;p<temp.size();p++,it++)
^
user.cpp:40:15: warning: unused variable ‘which’ [-Wunused-variable]
int i,j,p,which;
^
user.cpp: In function ‘int main()’:
user.cpp:73:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(mask[i].size()==k)
^
user.cpp:79:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<g[i].size();j++){
^
user.cpp:66:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabane.in","r",stdin);
^
user.cpp:67:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabane.out","w",stdout);
^
user.cpp:69:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2452kb | OK | 10 |
2 | 0ms | 2456kb | OK | 10 |
3 | 0ms | 2472kb | OK | 10 |
4 | 4ms | 2568kb | OK | 10 |
5 | 52ms | 3652kb | OK | 10 |
6 | 864ms | 18868kb | OK | 10 |
7 | 960ms | 18868kb | OK | 10 |
8 | 1060ms | 18868kb | OK | 10 |
9 | 1304ms | 18868kb | OK | 10 |
10 | 1552ms | 18872kb | OK | 10 |
Punctaj total | 100 |