Pagini recente » Borderou de evaluare (job #2911184) | Borderou de evaluare (job #1926806) | Borderou de evaluare (job #1838350) | Borderou de evaluare (job #2311661) | Borderou de evaluare (job #1516767)
Borderou de evaluare (job #1516767)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:13:9: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[i]==x) k++;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 296kb | OK | 10 |
| 5 | 12ms | 456kb | OK | 10 |
| 6 | 24ms | 652kb | OK | 10 |
| 7 | 44ms | 1048kb | OK | 10 |
| 8 | 124ms | 2212kb | OK | 10 |
| 9 | 240ms | 4168kb | OK | 10 |
| 10 | 248ms | 4168kb | OK | 10 |
| Punctaj total | 100 |