Pagini recente » Borderou de evaluare (job #2936179) | Borderou de evaluare (job #2742926) | Borderou de evaluare (job #3220695) | Borderou de evaluare (job #1107950) | Borderou de evaluare (job #2630471)
Borderou de evaluare (job #2630471)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:28: warning: statement has no effect [-Wunused-value]
d[j+v[i].e]>d[j]+v[i].c;
~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
last=min(last+v[i].e,gmax);
^~~~
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("energii.in","r",stdin);
^
main.cpp:14:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("energii.out","w",stdout);
^
main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&gmax);
^
main.cpp:18:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].e,&v[i].c);
^
main.cpp:15:16: warning: 'minim' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,gmax,minim,last,i,j;
^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Wrong answer! | 0 |
2 | 2ms | 131kb | Wrong answer! | 0 |
3 | 2ms | 131kb | Wrong answer! | 0 |
4 | 2ms | 131kb | Wrong answer! | 0 |
5 | 2ms | 131kb | Wrong answer! | 0 |
6 | 2ms | 131kb | Wrong answer! | 0 |
7 | 3ms | 131kb | Wrong answer! | 0 |
8 | 2ms | 131kb | Wrong answer! | 0 |
9 | 3ms | 131kb | Wrong answer! | 0 |
10 | 3ms | 131kb | Wrong answer! | 0 |
11 | 3ms | 131kb | Wrong answer! | 0 |
12 | 3ms | 131kb | Wrong answer! | 0 |
13 | 3ms | 131kb | Wrong answer! | 0 |
14 | 3ms | 131kb | Wrong answer! | 0 |
15 | 3ms | 131kb | Wrong answer! | 0 |
16 | 3ms | 131kb | Wrong answer! | 0 |
17 | 3ms | 131kb | Wrong answer! | 0 |
18 | 3ms | 131kb | Wrong answer! | 0 |
19 | 3ms | 131kb | Wrong answer! | 0 |
20 | 3ms | 131kb | Wrong answer! | 0 |
Punctaj total | 0 |