Pagini recente » Borderou de evaluare (job #2001053) | Borderou de evaluare (job #2791984) | Borderou de evaluare (job #2668227) | Borderou de evaluare (job #2754979) | Borderou de evaluare (job #1898778)
Borderou de evaluare (job #1898778)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, n;
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in", "r", stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out", "w", stdout);
^
user.cpp:11:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 20ms | 628kb | OK | 10 |
5 | 20ms | 652kb | OK | 10 |
6 | 28ms | 688kb | OK | 10 |
7 | 44ms | 808kb | Incorect | 0 |
8 | 44ms | 824kb | Incorect | 0 |
9 | 48ms | 828kb | Incorect | 0 |
10 | 48ms | 836kb | Incorect | 0 |
Punctaj total | 60 |