Pagini recente » Borderou de evaluare (job #641824) | Borderou de evaluare (job #1209109) | Borderou de evaluare (job #214002) | Borderou de evaluare (job #2792964) | Borderou de evaluare (job #1478852)
Borderou de evaluare (job #1478852)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",nr);
^
user.cpp:24:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(i=1;i<=nr;++i) printf("%ld %ld ",v[i],W[v[i]]);
^
user.cpp:24:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::map<int, int>::mapped_type {aka int}’ [-Wformat=]
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("pariuri.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.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:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:18:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&t,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 296kb | OK! | 10 |
| 2 | 76ms | 420kb | OK! | 10 |
| 3 | 252ms | 688kb | OK! | 10 |
| 4 | 352ms | 816kb | OK! | 10 |
| 5 | 688ms | 1232kb | OK! | 10 |
| 6 | 1256ms | 1788kb | OK! | 10 |
| 7 | 1432ms | 1960kb | OK! | 10 |
| 8 | 1636ms | 2108kb | OK! | 10 |
| 9 | Depăşit | 2776kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3048kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |