Pagini recente » Borderou de evaluare (job #6663) | Borderou de evaluare (job #2861995) | Borderou de evaluare (job #461148) | Borderou de evaluare (job #2547332) | Borderou de evaluare (job #1236433)
Borderou de evaluare (job #1236433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.out","w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); if (n*n<500000) y=n*n; else y=500000;
^
user.cpp:10:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n*n;i++) {scanf("%d", &x); if (x<=500000) a[x]=true;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 68ms | 276kb | OK | 10 | 50 |
2 | 0ms | 244kb | OK | 10 |
3 | 72ms | 276kb | OK | 10 |
4 | 44ms | 264kb | OK | 10 |
5 | 104ms | 292kb | OK | 10 |
6 | 184ms | 248kb | OK | 10 | 50 |
7 | 224ms | 300kb | OK | 10 |
8 | 272ms | 304kb | OK | 10 |
9 | 240ms | 244kb | OK | 10 |
10 | 252ms | 280kb | OK | 10 |
Punctaj total | 100 |