Pagini recente » Borderou de evaluare (job #2389241) | Borderou de evaluare (job #934686) | Borderou de evaluare (job #2820801) | Borderou de evaluare (job #1661133) | Borderou de evaluare (job #1182256)
Borderou de evaluare (job #1182256)
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("perle.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("perle.out","w",stdout);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&t);t;--t){
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;++i)scanf("%d",v+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK! | 10 |
2 | 0ms | 252kb | OK! | 10 |
3 | 0ms | 256kb | OK! | 10 |
4 | 0ms | 256kb | OK! | 10 |
5 | 0ms | 252kb | OK! | 10 |
6 | 0ms | 256kb | OK! | 10 |
7 | 0ms | 256kb | OK! | 10 |
8 | 4ms | 276kb | OK! | 10 |
9 | 4ms | 284kb | OK! | 10 |
10 | 12ms | 292kb | OK! | 10 |
Punctaj total | 100 |