Pagini recente » Borderou de evaluare (job #2793035) | Borderou de evaluare (job #2069202) | Borderou de evaluare (job #2829715) | Borderou de evaluare (job #3133981) | Borderou de evaluare (job #1698720)
Borderou de evaluare (job #1698720)
Raport evaluator
Compilare:
user.cpp:5:22: warning: large integer implicitly truncated to unsigned type [-Woverflow]
unsigned short n,w,g=10000005;
^
user.cpp: In function ‘int main()’:
user.cpp:14:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&n,&w);
^
user.cpp:14:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:17:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&p[i],&c[i]);
^
user.cpp:17:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:11:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,mini=1000000,stot=0;
^
user.cpp:11:13: warning: unused variable ‘mini’ [-Wunused-variable]
int i,j,mini=1000000,stot=0;
^
user.cpp:12: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);
^
user.cpp:13: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);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&w);
^
user.cpp:17:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p[i],&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Wrong answer! | 0 |
2 | 0ms | 432kb | Wrong answer! | 0 |
3 | 0ms | 432kb | Wrong answer! | 0 |
4 | 0ms | 432kb | Wrong answer! | 0 |
5 | 0ms | 424kb | Wrong answer! | 0 |
6 | 0ms | 424kb | Wrong answer! | 0 |
7 | 0ms | 428kb | Ok! | 5 |
8 | 0ms | 428kb | Wrong answer! | 0 |
9 | 0ms | 432kb | Wrong answer! | 0 |
10 | 0ms | 428kb | Wrong answer! | 0 |
11 | 0ms | 428kb | Wrong answer! | 0 |
12 | 0ms | 424kb | Wrong answer! | 0 |
13 | 0ms | 428kb | Wrong answer! | 0 |
14 | 0ms | 432kb | Wrong answer! | 0 |
15 | 0ms | 428kb | Wrong answer! | 0 |
16 | 0ms | 424kb | Wrong answer! | 0 |
17 | 0ms | 428kb | Wrong answer! | 0 |
18 | 0ms | 424kb | Wrong answer! | 0 |
19 | 0ms | 432kb | Wrong answer! | 0 |
20 | 0ms | 428kb | Wrong answer! | 0 |
Punctaj total | 5 |