Pagini recente » Borderou de evaluare (job #2722763) | Borderou de evaluare (job #772411) | Borderou de evaluare (job #1978444) | Borderou de evaluare (job #529990) | Borderou de evaluare (job #1454156)
Borderou de evaluare (job #1454156)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘str*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmax.in","r",stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secvmax.out","w",stdout);
^
user.cpp:28: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:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:35:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 292kb | OK | 10 | 10 |
2 | 0ms | 308kb | OK | 10 | 10 |
3 | 0ms | 312kb | OK | 10 | 10 |
4 | 20ms | 640kb | OK | 10 | 10 |
5 | 56ms | 1336kb | OK | 10 | 20 |
6 | 64ms | 1456kb | OK | 10 |
7 | 120ms | 2272kb | OK | 10 | 10 |
8 | 136ms | 2500kb | OK | 10 | 20 |
9 | 140ms | 2612kb | OK | 10 |
10 | 140ms | 2608kb | OK | 10 | 10 |
Punctaj total | 100 |