Pagini recente » Borderou de evaluare (job #2224406) | Borderou de evaluare (job #1222585) | Borderou de evaluare (job #1224042) | Borderou de evaluare (job #2485079) | Borderou de evaluare (job #1245222)
Borderou de evaluare (job #1245222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < nrs.size(); i++){
^
user.cpp:6:33: 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:35: 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:10:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:26:3: warning: ‘elem’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(elem == nrs[i]){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 540kb | OK | 10 |
5 | 16ms | 652kb | OK | 10 |
6 | 28ms | 916kb | OK | 10 |
7 | 56ms | 1304kb | OK | 10 |
8 | 132ms | 2352kb | OK | 10 |
9 | 284ms | 4456kb | OK | 10 |
10 | 308ms | 4448kb | OK | 10 |
Punctaj total | 100 |