Pagini recente » Borderou de evaluare (job #1718452) | Borderou de evaluare (job #1720144) | Borderou de evaluare (job #2260012) | Borderou de evaluare (job #3003132) | Borderou de evaluare (job #1684077)
Borderou de evaluare (job #1684077)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.out","w",stdout);
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:17: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",&t[i]);
^
user.cpp:19:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=m;i++) { scanf("%d",&x); b[x]=true; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 4ms | 328kb | OK | 10 |
6 | 36ms | 920kb | OK | 10 |
7 | 52ms | 1056kb | OK | 10 |
8 | 52ms | 1136kb | OK | 10 |
9 | 48ms | 1060kb | OK | 10 |
10 | 56ms | 1132kb | OK | 10 |
Punctaj total | 100 |