Pagini recente » Borderou de evaluare (job #1846337) | Borderou de evaluare (job #894805) | Borderou de evaluare (job #3211291) | Borderou de evaluare (job #2805277) | Borderou de evaluare (job #1318226)
Borderou de evaluare (job #1318226)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic.in", "r", stdin);
^
user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic.out", "w", stdout);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&n);
^
user.cpp:46:45: 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",&v1[i]);
^
user.cpp:47:45: 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",&v2[i]);
^
user.cpp:87:14: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(!last) dec(i,j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 5 |
2 | 0ms | 256kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 260kb | OK | 5 |
5 | 0ms | 260kb | OK | 5 |
6 | 4ms | 256kb | OK | 5 |
7 | 0ms | 256kb | OK | 5 |
8 | 0ms | 260kb | OK | 5 |
9 | 0ms | 260kb | OK | 5 |
10 | 0ms | 260kb | OK | 5 |
11 | 0ms | 248kb | OK | 5 |
12 | 0ms | 252kb | OK | 5 |
13 | 0ms | 252kb | OK | 5 |
14 | 0ms | 252kb | OK | 5 |
15 | 0ms | 256kb | OK | 5 |
16 | 0ms | 256kb | OK | 5 |
17 | 0ms | 256kb | OK | 5 |
18 | 0ms | 256kb | OK | 5 |
19 | 0ms | 248kb | OK | 5 |
20 | 0ms | 252kb | OK | 5 |
Punctaj total | 100 |