Pagini recente » Cod sursa (job #3233120) | Cod sursa (job #1802310) | Borderou de evaluare (job #1748897) | Cod sursa (job #934075) | Borderou de evaluare (job #2006312)
Borderou de evaluare (job #2006312)
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 | 1788kb | OK | 10 | 30 |
2 | 40ms | 2124kb | OK | 10 |
3 | 20ms | 1796kb | OK | 10 |
4 | 2668ms | 38280kb | OK | 10 | 0 |
5 | Depăşit | 65000kb | Time limit exceeded. | 0 |
6 | 2684ms | 38260kb | OK | 10 |
7 | 2656ms | 38272kb | OK | 10 |
8 | 2328ms | 37884kb | OK | 10 |
9 | 1664ms | 26584kb | OK | 10 | 20 |
10 | 1552ms | 8360kb | OK | 10 |
Punctaj total | 50 |