Pagini recente » Borderou de evaluare (job #277772) | Borderou de evaluare (job #2912268) | Borderou de evaluare (job #346572) | Borderou de evaluare (job #2077832) | Borderou de evaluare (job #1480503)
Borderou de evaluare (job #1480503)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:19:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:35:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",v[i]);
^
user.cpp:38:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&q);
^
user.cpp:41:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:49:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(t>=v[n]) printf("%d\n",w[n]);
^
user.cpp:55:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",w[aux-1]+(t*(n-aux+1)));
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("inundatie.in","r",stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("inundatie.out","w",stdout);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 4ms | 296kb | Incorect | 0 |
3 | 124ms | 416kb | Incorect | 0 |
4 | Depăşit | 608kb | Time limit exceeded. | 0 |
5 | Depăşit | 736kb | Time limit exceeded. | 0 |
6 | Depăşit | 880kb | Time limit exceeded. | 0 |
7 | Depăşit | 1232kb | Time limit exceeded. | 0 |
8 | Depăşit | 1444kb | Time limit exceeded. | 0 |
9 | 352ms | 1664kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 0 |