Pagini recente » Cod sursa (job #1147835) | Borderou de evaluare (job #1591051)
Borderou de evaluare (job #1591051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a.size(); ++i)
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "rt", stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "wt", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &el);
^
user.cpp:25:9: warning: ‘elMaj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]==elMaj)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 428kb | OK | 10 |
4 | 0ms | 532kb | OK | 10 |
5 | 12ms | 652kb | OK | 10 |
6 | 28ms | 916kb | OK | 10 |
7 | 52ms | 1304kb | OK | 10 |
8 | 128ms | 2348kb | OK | 10 |
9 | 284ms | 4448kb | OK | 10 |
10 | 288ms | 4452kb | OK | 10 |
Punctaj total | 100 |