Pagini recente » Borderou de evaluare (job #1855105) | Borderou de evaluare (job #1717027) | Borderou de evaluare (job #2305685) | Borderou de evaluare (job #51704) | Borderou de evaluare (job #2059559)
Borderou de evaluare (job #2059559)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.in", "r", stdin);
^
user.cpp:62:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.out", "w", stdout);
^
user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:65:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&a[i]);
^
user.cpp: In function ‘long long int produs2()’:
user.cpp:28:24: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=poz1 && i!=poz2)
^
user.cpp:28:13: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=poz1 && i!=poz2)
^
user.cpp: In function ‘long long int produs3()’:
user.cpp:54:17: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
i+=2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 272kb | OK | 10 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 80 |