Pagini recente » Borderou de evaluare (job #1424597) | Borderou de evaluare (job #2152613) | Borderou de evaluare (job #1288656) | Borderou de evaluare (job #449416) | Borderou de evaluare (job #2095254)
Borderou de evaluare (job #2095254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:79:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n",&a[i]);
^
user.cpp:75: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:76: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:77:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:79: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:39:20: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=poz1 && i!=poz2)
^
user.cpp:39:9: 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:67:9: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=poz)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 0ms | 280kb | OK | 10 |
8 | 0ms | 276kb | OK | 10 |
9 | 0ms | 280kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 100 |