Pagini recente » Borderou de evaluare (job #979997) | Borderou de evaluare (job #503522) | Borderou de evaluare (job #1961828) | Borderou de evaluare (job #2309887) | Borderou de evaluare (job #1515285)
Borderou de evaluare (job #1515285)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9: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:10: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:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:16:9: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[i]==a) b++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 12ms | 460kb | OK | 10 |
6 | 24ms | 652kb | OK | 10 |
7 | 48ms | 1040kb | OK | 10 |
8 | 108ms | 2220kb | OK | 10 |
9 | 244ms | 4164kb | OK | 10 |
10 | 252ms | 4164kb | OK | 10 |
Punctaj total | 100 |