Pagini recente » Borderou de evaluare (job #1055615) | Borderou de evaluare (job #2819992) | Borderou de evaluare (job #989408) | Borderou de evaluare (job #739579) | Borderou de evaluare (job #1979604)
Borderou de evaluare (job #1979604)
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 | 284kb | OK | 10 | 10 |
2 | 0ms | 304kb | OK | 10 | 10 |
3 | 0ms | 304kb | OK | 10 | 10 |
4 | 20ms | 640kb | OK | 10 | 10 |
5 | 56ms | 1332kb | OK | 10 | 20 |
6 | 64ms | 1452kb | OK | 10 |
7 | 124ms | 2268kb | OK | 10 | 10 |
8 | 132ms | 2504kb | OK | 10 | 20 |
9 | 136ms | 2608kb | OK | 10 |
10 | 144ms | 2604kb | OK | 10 | 10 |
Punctaj total | 100 |