Pagini recente » Borderou de evaluare (job #1490554) | Borderou de evaluare (job #642338) | Borderou de evaluare (job #823434) | Borderou de evaluare (job #615035) | Borderou de evaluare (job #1708440)
Borderou de evaluare (job #1708440)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:64:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t = 0; t < improved.size() ; ++t) {
^
user.cpp:55:13: warning: unused variable ‘w’ [-Wunused-variable]
int w = obj[i].w;
^
user.cpp:56:13: warning: unused variable ‘p’ [-Wunused-variable]
int p = obj[i].p;
^
user.cpp: In function ‘void read()’:
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&g);
^
user.cpp:35:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d%d", &obj[i].w, &obj[i].p);
^
user.cpp: In function ‘int main()’:
user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.in","r",stdin);
^
user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 308ms | 2900kb | OK | 10 | 100 |
2 | 304ms | 2900kb | OK | 10 |
3 | 292ms | 2896kb | OK | 10 |
4 | 308ms | 2900kb | OK | 10 |
5 | 180ms | 2844kb | OK | 10 |
6 | 280ms | 2904kb | OK | 10 |
7 | 308ms | 2904kb | OK | 10 |
8 | 304ms | 2900kb | OK | 10 |
9 | 304ms | 2896kb | OK | 10 |
10 | 192ms | 2836kb | OK | 10 |
Punctaj total | 100 |