Pagini recente » Borderou de evaluare (job #1701350) | Borderou de evaluare (job #2222663) | Borderou de evaluare (job #1750873) | Borderou de evaluare (job #2388804) | Borderou de evaluare (job #1246807)
Borderou de evaluare (job #1246807)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mincinosi.in","r",stdin);
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mincinosi.out","w",stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:26:9: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]==val) printf("%d\n", i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Corect! | 10 |
2 | 0ms | 256kb | Corect! | 10 |
3 | 0ms | 248kb | Corect! | 10 |
4 | 4ms | 372kb | Corect! | 10 |
5 | 24ms | 880kb | Corect! | 10 |
6 | 76ms | 1888kb | Corect! | 10 |
7 | 192ms | 4156kb | Corect! | 10 |
8 | 300ms | 5724kb | Corect! | 10 |
9 | 492ms | 8052kb | Corect! | 10 |
10 | 448ms | 8052kb | Corect! | 10 |
Punctaj total | 100 |