Pagini recente » Borderou de evaluare (job #1924584) | Borderou de evaluare (job #1547370) | Borderou de evaluare (job #2042715) | Borderou de evaluare (job #1548539) | Borderou de evaluare (job #1516768)
Borderou de evaluare (job #1516768)
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 | 260kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 304kb | OK | 10 |
| 5 | 12ms | 456kb | OK | 10 |
| 6 | 24ms | 652kb | OK | 10 |
| 7 | 48ms | 1048kb | OK | 10 |
| 8 | 108ms | 2212kb | OK | 10 |
| 9 | 244ms | 4168kb | OK | 10 |
| 10 | 252ms | 4164kb | OK | 10 |
| Punctaj total | 100 |