Pagini recente » Cod sursa (job #3235172) | Cod sursa (job #2966289) | Cod sursa (job #891993) | Cod sursa (job #2966364) | Borderou de evaluare (job #2006319)
Borderou de evaluare (job #2006319)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:62:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:63:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v[i].size();k++)
^
user.cpp:70:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++) v1[trib[v[i][j]]]=v[i][j];
^
user.cpp:71:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:74:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v[vec].size();k++)
^
user.cpp:77:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++) v1[trib[v[i][j]]]=0;
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tribes.in","r",stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tribes.out","w",stdout);
^
user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:41:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&trib[i]);
^
user.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 20ms | 1688kb | OK | 10 | 30 |
2 | 32ms | 1688kb | OK | 10 |
3 | 20ms | 1684kb | OK | 10 |
4 | 1948ms | 13420kb | OK | 10 | 50 |
5 | 3104ms | 13564kb | OK | 10 |
6 | 1956ms | 13424kb | OK | 10 |
7 | 1952ms | 13412kb | OK | 10 |
8 | 1820ms | 13352kb | OK | 10 |
9 | 1388ms | 14184kb | OK | 10 | 20 |
10 | 1556ms | 8196kb | OK | 10 |
Punctaj total | 100 |