Pagini recente » Borderou de evaluare (job #97186) | Borderou de evaluare (job #2099871) | Borderou de evaluare (job #287876) | Borderou de evaluare (job #3267555) | Borderou de evaluare (job #1224866)
Borderou de evaluare (job #1224866)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:13:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++)scanf("%d%",&v[i]);
^
user.cpp:14:39: warning: spurious trailing ‘%’ in format [-Wformat=]
user.cpp:15:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++)scanf("%d%",&q[i]);
^
user.cpp:15:39: warning: spurious trailing ‘%’ in format [-Wformat=]
user.cpp:24:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(!ok)printf("%d ",max(q[i],q[j]));
^
user.cpp:25:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d ",q[i]);
^
user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",q[n]);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("temple.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("temple.out","w",stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:14:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d%",&v[i]);
^
user.cpp:15:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d%",&q[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | Incorect | 0 | 0 |
2 | 104ms | 1820kb | Incorect | 0 |
3 | Depăşit | 1816kb | Time limit exceeded. | 0 |
4 | Depăşit | 1812kb | Time limit exceeded. | 0 |
5 | Depăşit | 1816kb | Time limit exceeded. | 0 |
6 | 316ms | 1820kb | Incorect | 0 |
7 | 324ms | 1820kb | Incorect | 0 |
8 | 188ms | 1820kb | Incorect | 0 |
9 | 184ms | 1824kb | Incorect | 0 |
10 | 148ms | 1824kb | Incorect | 0 |
Penalizare 36 (pentru 73.8 minute) + 3 (pentru o submisie) | -39 |
Punctaj total | 0 |