Pagini recente » Borderou de evaluare (job #3146068) | Cod sursa (job #2411259) | Borderou de evaluare (job #2260168) | Cod sursa (job #2547127) | Borderou de evaluare (job #2006314)
Borderou de evaluare (job #2006314)
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 | 36ms | 2084kb | OK | 10 |
3 | 20ms | 1800kb | OK | 10 |
4 | 2668ms | 38280kb | OK | 10 | 0 |
5 | Depăşit | 65388kb | Time limit exceeded. | 0 |
6 | 2644ms | 38260kb | OK | 10 |
7 | 2656ms | 38272kb | OK | 10 |
8 | 2328ms | 37888kb | OK | 10 |
9 | 1668ms | 26584kb | OK | 10 | 20 |
10 | 1544ms | 8288kb | OK | 10 |
Punctaj total | 50 |