Pagini recente » Borderou de evaluare (job #259240) | Borderou de evaluare (job #1506437) | Borderou de evaluare (job #3216507) | Borderou de evaluare (job #2524805) | Borderou de evaluare (job #1236428)
Borderou de evaluare (job #1236428)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6: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:7: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:8: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:9: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 | 60ms | 440kb | OK | 10 | 50 |
2 | 0ms | 256kb | OK | 10 |
3 | 72ms | 500kb | OK | 10 |
4 | 36ms | 396kb | OK | 10 |
5 | 100ms | 596kb | OK | 10 |
6 | 176ms | 300kb | OK | 10 | 0 |
7 | 212ms | Depăşit | Memory limit exceeded. | 0 |
8 | 268ms | Depăşit | Memory limit exceeded. | 0 |
9 | 224ms | 256kb | OK | 10 |
10 | 260ms | 504kb | OK | 10 |
Punctaj total | 50 |