Pagini recente » Borderou de evaluare (job #1195819) | Borderou de evaluare (job #104942) | Borderou de evaluare (job #2988406) | Borderou de evaluare (job #2193519) | Borderou de evaluare (job #1992509)
Borderou de evaluare (job #1992509)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici3.in","r",stdin);
^
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici3.out","w",stdout);
^
user.cpp:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:54:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].first,&v[i].second);
^
user.cpp:57:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
user.cpp:39:29: warning: ‘best’ may be used uninitialized in this function [-Wmaybe-uninitialized]
st[i]=st[i+1];
^
user.cpp:12:18: note: ‘best’ was declared here
int x=st[ds],best,sum=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | OK | 5 | 5 |
2 | 0ms | 464kb | OK | 5 | 5 |
3 | 0ms | 464kb | Incorect | 0 | 0 |
4 | 0ms | 468kb | OK | 5 | 5 |
5 | 0ms | 468kb | OK | 5 | 5 |
6 | 0ms | 460kb | Incorect | 0 | 0 |
7 | 0ms | 468kb | Incorect | 0 | 0 |
8 | 0ms | 460kb | OK | 5 | 5 |
9 | 0ms | 460kb | OK | 5 | 5 |
10 | 0ms | 464kb | Incorect | 0 | 0 |
11 | 0ms | 464kb | Incorect | 0 | 0 |
12 | 0ms | 460kb | Incorect | 0 | 0 |
13 | 0ms | 468kb | Incorect | 0 | 0 |
14 | 0ms | 468kb | Incorect | 0 | 0 |
15 | 0ms | 468kb | Incorect | 0 | 0 |
16 | 20ms | 468kb | Incorect | 0 | 0 |
17 | 0ms | 464kb | Incorect | 0 | 0 |
18 | 0ms | 464kb | Incorect | 0 | 0 |
19 | 0ms | 468kb | Incorect | 0 |
20 | 0ms | 464kb | OK | 5 |
Punctaj total | 30 |