Pagini recente » Borderou de evaluare (job #1707538) | Borderou de evaluare (job #27146) | Borderou de evaluare (job #2962581) | Borderou de evaluare (job #189786) | Borderou de evaluare (job #1224864)
Borderou de evaluare (job #1224864)
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:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dummy.in","r",stdin);
^
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("dummy.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 | 236kb | Fisier de iesire lipsa | 0 | 0 |
2 | 0ms | 236kb | Fisier de iesire lipsa | 0 |
3 | 0ms | 244kb | Fisier de iesire lipsa | 0 |
4 | 0ms | 240kb | Fisier de iesire lipsa | 0 |
5 | 0ms | 240kb | Fisier de iesire lipsa | 0 |
6 | 0ms | 236kb | Fisier de iesire lipsa | 0 |
7 | 0ms | 240kb | Fisier de iesire lipsa | 0 |
8 | 0ms | 244kb | Fisier de iesire lipsa | 0 |
9 | 0ms | 240kb | Fisier de iesire lipsa | 0 |
10 | 0ms | 240kb | Fisier de iesire lipsa | 0 |
Penalizare 36 (pentru 73.4 minute) | -36 |
Punctaj total | 0 |