Pagini recente » Borderou de evaluare (job #1175426) | Borderou de evaluare (job #2816637) | Borderou de evaluare (job #402952) | Borderou de evaluare (job #3188264) | Borderou de evaluare (job #1242525)
Borderou de evaluare (job #1242525)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pba.in","r",stdin);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pba.out","w",stdout);
^
user.cpp: In function ‘void solve()’:
user.cpp:25:13: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[pos]=1; Max=pos=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 100 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 4ms | 308kb | OK | 10 |
7 | 8ms | 372kb | OK | 10 |
8 | 12ms | 420kb | OK | 10 |
9 | 16ms | 464kb | OK | 10 |
10 | 16ms | 468kb | OK | 10 |
Punctaj total | 100 |