Pagini recente » Borderou de evaluare (job #2842318) | Borderou de evaluare (job #1980459) | Borderou de evaluare (job #824303) | Borderou de evaluare (job #1347870) | Borderou de evaluare (job #1218905)
Borderou de evaluare (job #1218905)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distincte2.in","r",stdin);
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distincte2.out","w",stdout);
^
user.cpp:15: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:16:66: 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",&x),used[x]=1,val=max(val,x);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 3988kb | OK | 10 | 100 |
2 | 8ms | 4480kb | OK | 10 |
3 | 8ms | 5700kb | OK | 10 |
4 | 12ms | 6624kb | OK | 10 |
5 | 20ms | 8064kb | OK | 10 |
6 | 24ms | 8072kb | OK | 10 |
7 | 60ms | 8068kb | OK | 10 |
8 | 68ms | 8068kb | OK | 10 |
9 | 120ms | 8068kb | OK | 10 |
10 | 128ms | 8072kb | OK | 10 |
Punctaj total | 100 |