Borderou de evaluare (job #2059570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld", x);
^
user.cpp:71:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld", y);
^
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:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&n);
^
user.cpp:65:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&a[i]);
^
user.cpp: In function ‘long long int produs2()’:
user.cpp:28:20: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=poz1 && i!=poz2)
^
user.cpp:28: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:51: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 | 280kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 292kb | Incorect | 0 |
6 | 0ms | 292kb | Incorect | 0 |
7 | 0ms | 292kb | Incorect | 0 |
8 | 0ms | 288kb | Incorect | 0 |
9 | 0ms | 288kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 0 |